목록PS/LeetCode (582)
넘치게 채우기
https://leetcode.com/problems/largest-substring-between-two-equal-characters/description/ Largest Substring Between Two Equal Characters - LeetCode Can you solve this real interview question? Largest Substring Between Two Equal Characters - Given a string s, return the length of the longest substring between two equal characters, excluding the two characters. If there is no such substring return..
https://leetcode.com/problems/redistribute-characters-to-make-all-strings-equal/description/ Redistribute Characters to Make All Strings Equal - LeetCode Can you solve this real interview question? Redistribute Characters to Make All Strings Equal - You are given an array of strings words (0-indexed). In one operation, pick two distinct indices i and j, where words[i] is a non-empty string, and ..
https://leetcode.com/problems/minimum-difficulty-of-a-job-schedule/description/ Minimum Difficulty of a Job Schedule - LeetCode Can you solve this real interview question? Minimum Difficulty of a Job Schedule - You want to schedule a list of jobs in d days. Jobs are dependent (i.e To work on the ith job, you have to finish all the jobs j where 0
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..
![](http://i1.daumcdn.net/thumb/C150x150/?fname=https://blog.kakaocdn.net/dn/bL9v4F/btsCG5pSWfS/JykD9Apt0HJyfWKGv45090/img.png)
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 문제 유형 : 수학, 구현 문제 난이도..