스탠더드세션 (1) 썸네일형 리스트형 [TIL]2024-2-16 / 38일차 - 팀 과제 마무리 1. 오늘의 알고리즘 코드카타 - 숫자 문자열과 영단어 답안 : //String.Replace 메서드를 알게 되었다... //단순 노가다 가즈아 using System; public class Solution { public int solution(string s) { int answer = 0; s = s.Replace("zero", "0"); s = s.Replace("one", "1"); s = s.Replace("two", "2"); s = s.Replace("three", "3"); s = s.Replace("four", "4"); s = s.Replace("five", "5"); s = s.Replace("six", "6"); s = s.Replace("seven", "7"); s = s.Re.. 이전 1 다음