목록PS/LeetCode (619)
넘치게 채우기
https://leetcode.com/problems/backspace-string-compare/description/ Backspace String Compare - LeetCode Can you solve this real interview question? Backspace String Compare - Given two strings s and t, return true if they are equal when both are typed into empty text editors. '#' means a backspace character. Note that after backspacing an empty text, the tex leetcode.com [LeetCode] 844. Backspac..
https://leetcode.com/problems/parallel-courses-iii/description/ Parallel Courses III - LeetCode Can you solve this real interview question? Parallel Courses III - You are given an integer n, which indicates that there are n courses labeled from 1 to n. You are also given a 2D integer array relations where relations[j] = [prevCoursej, nextCoursej] den leetcode.com 문제 유형 : 위상 정렬 문제 난이도 : Hard 문제 Y..
https://leetcode.com/problems/validate-binary-tree-nodes/description/ Validate Binary Tree Nodes - LeetCode Can you solve this real interview question? Validate Binary Tree Nodes - You have n binary tree nodes numbered from 0 to n - 1 where node i has two children leftChild[i] and rightChild[i], return true if and only if all the given nodes form exactly one val leetcode.com 문제 유형 : BFS / DFS 문제..
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..