[leetcode] [python] Kth Missing Positive Number
Memory Usage: 14.6 MB Given an array, arr, of positive integers sorted in a strictly increasing order, and an integer k. Find the kth positive integer that is missing from this array. Example 1: Input: arr = [2,3,4,7,11], k = 5 Output: 9 Explanation: The missing positive integers are [1,5,6,8,9,10,12,13,...]. The 5th missing positive integer is 9. Example 2: Input: arr = [1,2,3,4], k = 2 Output:..
코딩테스트/leetcode
2021. 1. 8. 00:00
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- 알고리즘
- Python
- python #프로그래머스 #알고리즘
- C++
- python #프로그래머스 #완전탐색
- 프로그래머스
- 파이썬
- map
- dumps
- python #leetcode #algorithm
- notion
- 스프링 #시큐리티 #에러
- 에러로그
- flask
- bfs #백준 #2606 #python
- centOS7
- MySQL
- python #leetcode #set
- 선택정렬
- Tistory
- leetcode #python #알고리즘
- 정렬
- 프로그래머스 #heap #힙 #heapq #python
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
글 보관함