[LeetCode] 661. Image Smoother - Java
·
알고리즘/LeetCode
https://leetcode.com/problems/image-smoother/description/ Image Smoother - LeetCode Can you solve this real interview question? Image Smoother - An image smoother is a filter of the size 3 x 3 that can be applied to each cell of an image by rounding down the average of the cell and the eight surrounding cells (i.e., the average of the nin leetcode.com 문제 An image smoother is a filter of the size..
[LeetCode] 2483. Minimum Penalty for a Shop - Java
·
알고리즘/LeetCode
https://leetcode.com/problems/minimum-penalty-for-a-shop/description/ Minimum Penalty for a Shop - LeetCode Can you solve this real interview question? Minimum Penalty for a Shop - You are given the customer visit log of a shop represented by a 0-indexed string customers consisting only of characters 'N' and 'Y': * if the ith character is 'Y', it means that cust leetcode.com 문제 You are given the..
[LeetCode] 215. Kth Largest Element in an Array - Java
·
알고리즘/LeetCode
https://leetcode.com/problems/kth-largest-element-in-an-array/description/ Kth Largest Element in an Array - LeetCode Can you solve this real interview question? Kth Largest Element in an Array - Given an integer array nums and an integer k, return the kth largest element in the array. Note that it is the kth largest element in the sorted order, not the kth distinct eleme leetcode.com 문제 Given a..
[LeetCode] 518. Coin Change II - Java, JavaScript
·
알고리즘/LeetCode
https://leetcode.com/problems/coin-change-ii/description/ 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 repre..
[LeetCode] 74. Search a 2D Matrix - Java
·
알고리즘/LeetCode
https://leetcode.com/problems/search-a-2d-matrix/description/ Search a 2D Matrix - LeetCode Can you solve this real interview question? Search a 2D Matrix - You are given an m x n integer matrix matrix with the following two properties: * Each row is sorted in non-decreasing order. * The first integer of each row is greater than the last integer leetcode.com 문제 You are given an m x n integer mat..
HYOJUN
'알고리즘' 카테고리의 글 목록