Code & Beyond

  • 홈
  • 태그
  • 방명록

316 1

Algorithm | [LeetCode 316] Remove Duplicate Letters

문제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..

Algorithm 2025.06.11
이전
1
다음
더보기
프로필사진

Code & Beyond

  • 분류 전체보기 (14)
    • 경험 (0)
    • Review (0)
    • Cloud (2)
    • Algorithm (4)
    • Database (4)
    • React Native (1)
    • React (3)

Tag

firebae rn 연동, AWS, leetcode, doit알고리즘코딩테스트자바편, 분산저장관련이론, DB, React, 파티셔닝비교, minimum depth of binary tree, cloud자격증, 리덕스대신, 분산저장기법, saac03, 알고리즘, 데이터베이스, inordertraversal, 구간합 java, 트랜잭션의속성, 94. binary tree inorder traversal, 이진트리순회방식,

최근글과 인기글

  • 최근글
  • 인기글

최근댓글

공지사항

페이스북 트위터 플러그인

  • Facebook
  • Twitter

Archives

Calendar

«   2026/05   »
일 월 화 수 목 금 토
1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
31

방문자수Total

  • Today :
  • Yesterday :
github

  • github

티스토리툴바