목록PS/LeetCode (621)
넘치게 채우기
https://leetcode.com/problems/reduction-operations-to-make-the-array-elements-equal/description/ Reduction Operations to Make the Array Elements Equal - LeetCode Can you solve this real interview question? Reduction Operations to Make the Array Elements Equal - Given an integer array nums, your goal is to make all elements in nums equal. To complete one operation, follow these steps: 1. Find the..
https://leetcode.com/problems/frequency-of-the-most-frequent-element/description/ Frequency of the Most Frequent Element - LeetCode Can you solve this real interview question? Frequency of the Most Frequent Element - The frequency of an element is the number of times it occurs in an array. You are given an integer array nums and an integer k. In one operation, you can choose an index o leetcode...
https://leetcode.com/problems/minimize-maximum-pair-sum-in-array/description/ Minimize Maximum Pair Sum in Array - LeetCode Can you solve this real interview question? Minimize Maximum Pair Sum in Array - The pair sum of a pair (a,b) is equal to a + b. The maximum pair sum is the largest pair sum in a list of pairs. * For example, if we have pairs (1,5), (2,3), and (4,4), the m leetcode.com leet..
https://leetcode.com/problems/find-unique-binary-string/description/ Find Unique Binary String - LeetCode Can you solve this real interview question? Find Unique Binary String - Given an array of strings nums containing n unique binary strings each of length n, return a binary string of length n that does not appear in nums. If there are multiple answers, you leetcode.com leetcode - Find Unique ..
https://leetcode.com/problems/maximum-element-after-decreasing-and-rearranging/description/ Maximum Element After Decreasing and Rearranging - LeetCode Can you solve this real interview question? Maximum Element After Decreasing and Rearranging - You are given an array of positive integers arr. Perform some operations (possibly none) on arr so that it satisfies these conditions: * The value of t..
https://leetcode.com/problems/unique-length-3-palindromic-subsequences/description/ Unique Length-3 Palindromic Subsequences - LeetCodeCan you solve this real interview question? Unique Length-3 Palindromic Subsequences - Given a string s, return the number of unique palindromes of length three that are a subsequence of s. Note that even if there are multiple ways to obtain the same subseleetcod..
https://leetcode.com/problems/sort-vowels-in-a-string/description/ Sort Vowels in a String - LeetCode Can you solve this real interview question? Sort Vowels in a String - Given a 0-indexed string s, permute s to get a new string t such that: * All consonants remain in their original places. More formally, if there is an index i with 0
https://leetcode.com/problems/bus-routes/description/ Bus Routes - LeetCode Can you solve this real interview question? Bus Routes - You are given an array routes representing bus routes where routes[i] is a bus route that the ith bus repeats forever. * For example, if routes[0] = [1, 5, 7], this means that the 0th bus travels in leetcode.com leetcode - Bus Routes 문제 유형 : 최단 거리 / 그래프 문제 난이도 : Ha..
https://leetcode.com/problems/design-graph-with-shortest-path-calculator/description/ Design Graph With Shortest Path Calculator - LeetCode Can you solve this real interview question? Design Graph With Shortest Path Calculator - There is a directed weighted graph that consists of n nodes numbered from 0 to n - 1. The edges of the graph are initially represented by the given array edges where e l..
https://leetcode.com/problems/restore-the-array-from-adjacent-pairs/description/ Restore the Array From Adjacent Pairs - LeetCode Can you solve this real interview question? Restore the Array From Adjacent Pairs - There is an integer array nums that consists of n unique elements, but you have forgotten it. However, you do remember every pair of adjacent elements in nums. You are give leetcode.co..