목록PS (886)
넘치게 채우기
https://leetcode.com/problems/string-compression-ii/description/ leetcode - String Compression II 문제 유형 : 부분합, 다이나믹 프로그래밍, 재귀 문제 난이도 : Hard 문제 Run-length encoding is a string compression method that works by replacing consecutive identical characters (repeated 2 or more times) with the concatenation of the character and the number marking the count of the characters (length of the run). For exam..

https://leetcode.com/problems/minimum-time-to-make-rope-colorful/description/?envType=daily-question&envId=2023-12-27 Minimum Time to Make Rope Colorful - LeetCode Can you solve this real interview question? Minimum Time to Make Rope Colorful - Alice has n balloons arranged on a rope. You are given a 0-indexed string colors where colors[i] is the color of the ith balloon. Alice wants the rope to..
https://leetcode.com/problems/number-of-dice-rolls-with-target-sum/description/ Number of Dice Rolls With Target Sum - LeetCode Can you solve this real interview question? Number of Dice Rolls With Target Sum - You have n dice, and each die has k faces numbered from 1 to k. Given three integers n, k, and target, return the number of possible ways (out of the kn total ways) to roll leetcode.com l..
https://leetcode.com/problems/decode-ways/description/ Decode Ways - LeetCode Can you solve this real interview question? Decode Ways - A message containing letters from A-Z can be encoded into numbers using the following mapping: 'A' -> "1" 'B' -> "2" ... 'Z' -> "26" To decode an encoded message, all the digits must be grouped then leetcode.com leetcode - Decode Ways 문제 유형 : 다이나믹 프로그래밍 문제 난이도 :..
https://leetcode.com/problems/climbing-stairs/description/ Climbing Stairs - LeetCode Can you solve this real interview question? Climbing Stairs - You are climbing a staircase. It takes n steps to reach the top. Each time you can either climb 1 or 2 steps. In how many distinct ways can you climb to the top? Example 1: Input: n = 2 Outpu leetcode.com leetcode - Climbing Stairs 문제 유형 : 다이나믹 프로그래밍..
https://leetcode.com/problems/minimum-changes-to-make-alternating-binary-string/description/ Minimum Changes To Make Alternating Binary String - LeetCode Can you solve this real interview question? Minimum Changes To Make Alternating Binary String - You are given a string s consisting only of the characters '0' and '1'. In one operation, you can change any '0' to '1' or vice versa. The string is..
https://leetcode.com/problems/path-crossing/description/ Path Crossing - LeetCode Can you solve this real interview question? Path Crossing - Given a string path, where path[i] = 'N', 'S', 'E' or 'W', each representing moving one unit north, south, east, or west, respectively. You start at the origin (0, 0) on a 2D plane and walk on the leetcode.com leetcode - Path Crossing 문제 유형 : 수학, 구현 문제 난이도..

https://leetcode.com/problems/maximum-score-after-splitting-a-string/description/ Maximum Score After Splitting a String - LeetCode Can you solve this real interview question? Maximum Score After Splitting a String - Given a string s of zeros and ones, return the maximum score after splitting the string into two non-empty substrings (i.e. left substring and right substring). The scor leetcode.co..
https://leetcode.com/problems/widest-vertical-area-between-two-points-containing-no-points/submissions/1124652257/ 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 leetcode - Widest Vertical Area BetWeen Two Points 문제 유형 : 수..
https://leetcode.com/problems/buy-two-chocolates/ Buy Two Chocolates - LeetCode Can you solve this real interview question? Buy Two Chocolates - You are given an integer array prices representing the prices of various chocolates in a store. You are also given a single integer money, which represents your initial amount of money. You m leetcode.com leetcode - Buy Two Chocolates 문제 유형 : 배열, 구현 문제 ..