[LeetCode] 152. Maximum Product Subarray - Java
·
알고리즘/LeetCode
https://leetcode.com/problems/maximum-product-subarray/ Maximum Product Subarray - LeetCode Level up your coding skills and quickly land a job. This is the best place to expand your knowledge and get prepared for your next interview. leetcode.com 문제 Given an integer array nums, find a subarray that has the largest product, and return the product. The test cases are generated so that the answer w..
[LeetCode] 374. Guess Number Higher or Lower - Java
·
알고리즘/LeetCode
https://leetcode.com/problems/guess-number-higher-or-lower/description/ Guess Number Higher or Lower - LeetCode Level up your coding skills and quickly land a job. This is the best place to expand your knowledge and get prepared for your next interview. leetcode.com 문제 We are playing the Guess Game. The game is as follows: I pick a number from 1 to n. You have to guess which number I picked. Eve..
[LeetCode] 222. Count Complete Tree Nodes - Java
·
알고리즘/LeetCode
https://leetcode.com/problems/count-complete-tree-nodes/ Count Complete Tree Nodes - LeetCode Level up your coding skills and quickly land a job. This is the best place to expand your knowledge and get prepared for your next interview. leetcode.com 문제 Given the root of a complete binary tree, return the number of the nodes in the tree. According to Wikipedia, every level, except possibly the las..
[LeetCode] 53. Maximum Subarray - Java
·
알고리즘/LeetCode
https://leetcode.com/problems/maximum-subarray/ Maximum Subarray - LeetCode Level up your coding skills and quickly land a job. This is the best place to expand your knowledge and get prepared for your next interview. leetcode.com 문제 Given an integer array nums, find the subarray which has the largest sum and return its sum. Example 1: Input: nums = [-2,1,-3,4,-1,2,1,-5,4] Output: 6 Explanation:..
[LeetCode] 70. Climbing Stairs - Java
·
알고리즘/LeetCode
https://leetcode.com/problems/climbing-stairs/ Climbing Stairs - LeetCode Level up your coding skills and quickly land a job. This is the best place to expand your knowledge and get prepared for your next interview. leetcode.com 문제 You are climbing a staircase. It takes n steps to reach the top. Each time you can either climb 1 or 2 steps. In how many distinct ways can you climb to the top? Exam..
HYOJUN
'알고리즘/LeetCode' 카테고리의 글 목록 (16 Page)