내 풀이 방법 Dictionary 사용using System;using System.Collections.Generic;public class Solution { public int[] solution(string s) { int[] answer = new int[s.Length]; Dictionary dic = new Dictionary(); for(int i = 0; i 다른 사람 풀이using System;public class Solution { public int[] solution(string s) { int[] answer = new int[s.Length]; answer[0] = -1;..