본문 바로가기

Bunker

검색하기
Bunker
프로필사진 _Ishmael

  • 분류 전체보기 (7)
    • Algorithms (6)
      • Leetcode (5)
      • Reference (1)
      • Review (0)
    • Interview Prep (0)
    • Skillset (0)
      • Rust (0)
    • Gadgets (1)
    • Blah.. (0)
    • Baby (0)
    • 해취 잡동사니 (0)
Guestbook
Notice
Recent Posts
Recent Comments
Link
  • github
«   2025/08   »
일 월 화 수 목 금 토
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
Tags
  • leetcode_medium
  • interview_hard_collection
  • Dynamic Programming
  • array_and_string
  • leetcode_hard
  • DP
more
Archives
Today
Total
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

목록leetcode_hard (1)

Bunker

[hard] 41. First Missing Positive

문제 https://leetcode.com/problems/first-missing-positive/ First Missing Positive - 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 풀이 1) Merge Sort를 이용하여 리스트에 있는 숫자를 먼저 오름차순으로 정리 2) 가장 작은 수를 1로 설정하고, - 0보다 작거나 같은 element는 skip - 현재의 가장 작은 수와 동일한 element가 나올 경우, 작은 수를 +1 - 현재의 가장 작은 ..

Algorithms/Leetcode 2022. 7. 25. 21:54
이전 Prev 1 Next 다음

Blog is powered by kakao / Designed by Tistory

티스토리툴바