개발/Leetcode
-
Leetcode 2744. Find Maximum Number of String Pairs개발/Leetcode 2023. 7. 1. 09:59
https://leetcode.com/problems/find-maximum-number-of-string-pairs/description/ Find Maximum Number of String Pairs - LeetCode Can you solve this real interview question? Find Maximum Number of String Pairs - You are given a 0-indexed array words consisting of distinct strings. The string words[i] can be paired with the string words[j] if: * The string words[i] is equal to the rev leetcode.com 문제..
-
Leetcode 2305. Fair Distribution of Cookies개발/Leetcode 2023. 7. 1. 09:48
https://leetcode.com/problems/fair-distribution-of-cookies/description/ Fair Distribution of Cookies - LeetCode Can you solve this real interview question? Fair Distribution of Cookies - You are given an integer array cookies, where cookies[i] denotes the number of cookies in the ith bag. You are also given an integer k that denotes the number of children to distrib leetcode.com 문제 정수로 이루어진 배열 c..
-
Leetcode 1970. Last Day Where You Can Still Cross개발/Leetcode 2023. 6. 30. 12:56
https://leetcode.com/problems/last-day-where-you-can-still-cross/description/ Last Day Where You Can Still Cross - LeetCode Can you solve this real interview question? Last Day Where You Can Still Cross - There is a 1-based binary matrix where 0 represents land and 1 represents water. You are given integers row and col representing the number of rows and columns in the matrix, leetcode.com 문제 인덱..
-
Leetcode 1514. Path with Maximum Probability개발/Leetcode 2023. 6. 28. 12:49
https://leetcode.com/problems/path-with-maximum-probability/description/ Path with Maximum Probability - LeetCode Can you solve this real interview question? Path with Maximum Probability - You are given an undirected weighted graph of n nodes (0-indexed), represented by an edge list where edges[i] = [a, b] is an undirected edge connecting the nodes a and b wi leetcode.com 문제 0번 부터 시작하는 n개의 노드는 ..
-
Leetcode 373. Find K Pairs with Smallest Sums개발/Leetcode 2023. 6. 27. 12:01
https://leetcode.com/problems/find-k-pairs-with-smallest-sums/description/ Find K Pairs with Smallest Sums - LeetCode Can you solve this real interview question? Find K Pairs with Smallest Sums - You are given two integer arrays nums1 and nums2 sorted in ascending order and an integer k. Define a pair (u, v) which consists of one element from the first array and one eleme leetcode.com 문제 정수로 이루어..
-
Leetcode 17. Letter Combinations of a Phone Number개발/Leetcode 2023. 6. 26. 11:39
https://leetcode.com/problems/letter-combinations-of-a-phone-number/description/ Letter Combinations of a Phone Number - LeetCode Can you solve this real interview question? Letter Combinations of a Phone Number - Given a string containing digits from 2-9 inclusive, return all possible letter combinations that the number could represent. Return the answer in any order. A mapping of d leetcode.co..
-
Leetcode 2090. K Radius Subarray Averages개발/Leetcode 2023. 6. 25. 12:59
https://leetcode.com/problems/k-radius-subarray-averages/description/ K Radius Subarray Averages - LeetCode Can you solve this real interview question? K Radius Subarray Averages - You are given a 0-indexed array nums of n integers, and an integer k. The k-radius average for a subarray of nums centered at some index i with the radius k is the average of all elem leetcode.com 문제 0부터 시작하는 정수가 포함되어..
-
Leetcode 1146. Snapshot Array개발/Leetcode 2023. 6. 25. 11:46
https://leetcode.com/problems/snapshot-array/description/ Snapshot Array - LeetCode Can you solve this real interview question? Snapshot Array - Implement a SnapshotArray that supports the following interface: * SnapshotArray(int length) initializes an array-like data structure with the given length. Initially, each element equals 0. * vo leetcode.com 문제 SnapshorArray를 아래와 같은 지시에 따라 구현하라 SnapSho..