Notice
250x250
Recent Posts
Recent Comments
Link
목록2024/06/16 (1)
넘치게 채우기
[LeetCode] 330. Patching Array
https://leetcode.com/problems/patching-array/description/leetcode - Patching Array문제 유형 : 그리디문제 난이도 : Hard 문제Given a sorted integer array nums and an integer n, add/patch elements to the array such that any number in the range [1, n] inclusive can be formed by the sum of some elements in the array.Return the minimum number of patches required. 정수 배열 nums와 정수 n이 주어진다. 배열에 요소를 추가하여 닫힌구간 [1, n]의 모든..
PS/LeetCode
2024. 6. 16. 11:29