목록LeetCode (567)
넘치게 채우기
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 문제 유형 : 배열, 구현 문제 ..
https://leetcode.com/problems/image-smoother/description/ Image Smoother - LeetCode Can you solve this real interview question? Image Smoother - An image smoother is a filter of the size 3 x 3 that can be applied to each cell of an image by rounding down the average of the cell and the eight surrounding cells (i.e., the average of the nin leetcode.com leetcode - Image Smoother 문제 유형 : 행렬 문제 난이도..
https://leetcode.com/problems/maximum-product-difference-between-two-pairs/description/ Maximum Product Difference Between Two Pairs - LeetCode Can you solve this real interview question? Maximum Product Difference Between Two Pairs - The product difference between two pairs (a, b) and (c, d) is defined as (a * b) - (c * d). * For example, the product difference between (5, 6) and (2, 7) is (5 *..
https://leetcode.com/problems/design-a-food-rating-system/description/ Design a Food Rating System - LeetCode Can you solve this real interview question? Design a Food Rating System - Design a food rating system that can do the following: * Modify the rating of a food item listed in the system. * Return the highest-rated food item for a type of cuisine in the syst leetcode.com leetcode - Design ..