분류 전체보기
-
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..
-
Leetcode 125. Valid Palindrome개발/Leetcode 2023. 6. 24. 12:09
https://leetcode.com/problems/valid-palindrome/description/ Valid Palindrome - LeetCode Can you solve this real interview question? Valid Palindrome - A phrase is a palindrome if, after converting all uppercase letters into lowercase letters and removing all non-alphanumeric characters, it reads the same forward and backward. Alphanumeric cha leetcode.com 문제 주어진 문자열 s에 대해 대문자는 소문자로 변환하고, 0~9 그리고..
-
Leetcode 1232. Check If It Is a Straight Line개발/Leetcode 2023. 6. 24. 11:46
https://leetcode.com/problems/check-if-it-is-a-straight-line/description/ Check If It Is a Straight Line - LeetCode Can you solve this real interview question? Check If It Is a Straight Line - You are given an array coordinates, coordinates[i] = [x, y], where [x, y] represents the coordinate of a point. Check if these points make a straight line in the XY plane. leetcode.com 문제 좌표의 정보가 들어있는 coor..