LeetCode(52)
-
[LeetCode/Kotlin]Medium - 518. Coin Change II
Coin Change II - LeetCode Can you solve this real interview question? Coin Change II - You are given an integer array coins representing coins of different denominations and an integer amount representing a total amount of money. Return the number of combinations that make up that leetcode.com 문제 You are given an integer array coins representing coins of different denominations and an integer am..
2023.08.27 -
[LeetCode/Kotlin]Medium - 36. Valid Sudoku
Valid Sudoku - LeetCode Can you solve this real interview question? Valid Sudoku - Determine if a 9 x 9 Sudoku board is valid. Only the filled cells need to be validated according to the following rules: 1. Each row must contain the digits 1-9 without repetition. 2. Each c leetcode.com 문제 Determine if a 9 x 9 Sudoku board is valid. Only the filled cells need to be validated according to the foll..
2023.08.27 -
[LeetCode/Kotlin]Medium - 53. Maximum Subarray
Maximum Subarray - LeetCode Can you solve this real interview question? Maximum Subarray - Given an integer array nums, find the subarray with the largest sum, and return its sum. Example 1: Input: nums = [-2,1,-3,4,-1,2,1,-5,4] Output: 6 Explanation: The subarray [4,-1,2,1] has t leetcode.com 문제 Given an integer array nums, find the subarray with the largest sum, and return its sum. Example 1: ..
2023.08.03 -
[LeetCode/Kotlin]Medium - 200. Number of Islands
Number of Islands - LeetCode Can you solve this real interview question? Number of Islands - Given an m x n 2D binary grid grid which represents a map of '1's (land) and '0's (water), return the number of islands. An island is surrounded by water and is formed by connecting adjacent l leetcode.com 문제 Given an m x n 2D binary grid grid which represents a map of '1's (land) and '0's (water), retur..
2023.08.03 -
[LeetCode/Kotlin]Medium - 926. Flip String to Monotone Increasing
Flip String to Monotone Increasing - LeetCode Can you solve this real interview question? Flip String to Monotone Increasing - A binary string is monotone increasing if it consists of some number of 0's (possibly none), followed by some number of 1's (also possibly none). You are given a binary string leetcode.com Problem A binary string is monotone increasing if it consists of some number of 0'..
2023.07.16 -
[LeetCode/Kotlin]Medium - 17. Letter Combinations of a Phone Number
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.com Problem Given a string containing digits from 2-9 inclusive, return all possibl..
2023.07.16