인생은 효율성

  • 홈
  • 태그
  • 방명록

리트코드 Custom Sort String 1

[Python] 리트코드 Hash Table, Sorting문제(791. Custom Sort String)

https://leetcode.com/problems/custom-sort-string/ Custom Sort String - LeetCode Level up your coding skills and quickly land a job. This is the best place to expand your knowledge and get prepared for your next interview. leetcode.com 우선 s의 문자들 중 order에 존재하는 문자를 order에서의 정렬 순서대로 정렬한 후 나머지 문자를 s에 있던 순서대로 정렬한다. 여기서 주의해야 할 점은 order는 모든 문자가 유니크하지만 s는 중복이 허용되기 때문에 s에 있는 모든 중복 문자는 order에 있는 순서대로 정렬되어야..

알고리즘 2022.03.14
이전
1
다음
더보기
250x250
프로필사진
  • 분류 전체보기 (209)
    • 짧은만화 (15)
    • 토이프로젝트 (20)
    • JavaScript (26)
    • React (17)
    • 알고리즘 (91)
    • WEB (12)
    • 개발환경 (5)
    • 프로그래밍 (5)
    • 네트워크 (7)
    • MSSQL (6)
    • 기타 (2)

최근댓글

최근글과 인기글

  • 최근글
  • 인기글

방문자수Total

  • Today :
  • Yesterday :

Copyright © Kakao Corp. All rights reserved.

티스토리툴바