목록PS/LeetCode (576)
넘치게 채우기
https://leetcode.com/problems/pascals-triangle-ii/description/ Pascal's Triangle II - LeetCode Can you solve this real interview question? Pascal's Triangle II - Given an integer rowIndex, return the rowIndexth (0-indexed) row of the Pascal's triangle. In Pascal's triangle, each number is the sum of the two numbers directly above it as shown: [https leetcode.com 문제 유형 : 다이나믹 프로그래밍 문제 난이도 : Easy ..
https://leetcode.com/problems/number-of-ways-to-stay-in-the-same-place-after-some-steps/description/ Number of Ways to Stay in the Same Place After Some Steps - LeetCode Can you solve this real interview question? Number of Ways to Stay in the Same Place After Some Steps - You have a pointer at index 0 in an array of size arrLen. At each step, you can move 1 position to the left, 1 position to t..
https://leetcode.com/problems/painting-the-walls/description/ Painting the Walls - LeetCode Can you solve this real interview question? Painting the Walls - You are given two 0-indexed integer arrays, cost and time, of size n representing the costs and the time taken to paint n different walls respectively. There are two painters available: * A leetcode.com 문제 유형 : 다이나믹 프로그래밍 문제 난이도 : Hard 문제 Yo..
https://leetcode.com/problems/find-in-mountain-array/ Find in Mountain Array - LeetCode Can you solve this real interview question? Find in Mountain Array - (This problem is an interactive problem.) You may recall that an array arr is a mountain array if and only if: * arr.length >= 3 * There exists some i with 0 < i < arr.length - 1 such tha leetcode.com 문제 유형 : 이진 탐색 문제 난이도 : Hard 문제 (This pro..
https://leetcode.com/problems/minimum-number-of-operations-to-make-array-continuous/description/ LeetCode - The World's Leading Online Programming Learning PlatformLevel 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문제 유형 : 배열 / 정렬 / 슬라이딩 윈도우문제 난이도 : Hard 문제You are given an integer array nums. In..
https://leetcode.com/problems/find-first-and-last-position-of-element-in-sorted-array/description/ LeetCode - The World's Leading Online Programming Learning Platform 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 문제 유형 : 이진 탐색 문제 난이도 : Medium 문제 Given an array of integers nums sorted in n..
https://leetcode.com/problems/max-dot-product-of-two-subsequences/description/ LeetCode - The World's Leading Online Programming Learning Platform 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 문제 유형 : 다이나믹 프로그래밍 문제 난이도 : Hard 문제 Given two arrays nums1 and nums2. Return the maximum dot pro..
https://leetcode.com/problems/build-array-where-you-can-find-the-maximum-exactly-k-comparisons/description/ LeetCode - The World's Leading Online Programming Learning PlatformLevel 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문제 유형 : 배열 / 다이나믹 프로그래밍문제 난이도 : Hard 문제You are given three integers n,..
https://leetcode.com/problems/integer-break/description/ LeetCode - The World's Leading Online Programming Learning Platform 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 문제 유형 : 정수론, 수학 문제 난이도 : Medium 문제 Given an integer n, break it into the sum of k positive integers, where k >= 2, and..
https://leetcode.com/problems/majority-element-ii/description/ LeetCode - The World's Leading Online Programming Learning Platform 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 문제 유형 : 해시, 배열 문제 난이도 : Medium 문제 Given an integer array of size n, find all elements that appear more than ⌊ n/..