문제Given a string s, remove duplicate letters so that every letter appears once and only once. You must make sure your result is the smallest in lexicographical order among all possible results. 주어진 string s에서 중복된 문자를 제거사전 정렬에서 가장 작은 결과를 리턴 (abc 예시입력1Input: s = "bcabc" 출력1Output: "abc" 'b' 와 'c'는 중복된 문자이므로 하나씩만 남기고 제거되지만, 'a'가 가장 앞에 올 경우 사전 순으로 더 작은 문자열이 되기 때문에 'bca'가 아닌 'abc'가 정답이 된다. 입력2Inpu..