[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
- 스프링 #시큐리티 #에러
- 정렬
- 에러로그
- map
- python #프로그래머스 #완전탐색
- Python
- 파이썬
- centOS7
- notion
- Tistory
- 프로그래머스 #heap #힙 #heapq #python
- C++
- flask
- 프로그래머스
- dumps
- python #프로그래머스 #알고리즘
- MySQL
- 알고리즘
- bfs #백준 #2606 #python
- leetcode #python #알고리즘
- 선택정렬
- python #leetcode #algorithm
- python #leetcode #set
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
글 보관함