본문 바로가기
728x90
leetcode 231) Power of Two LV. Easy 😎 https://leetcode.com/problems/power-of-two/ Power of Two - 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 n, return true if it is a power of two. Otherwise, return false. An integer n is a power of two, if there exists an integer x such that n == 2x... 2022. 1. 5.
leetcode 416) Partition Equal Subset Sum LV. Medium 🧐 https://leetcode.com/problems/partition-equal-subset-sum/ Partition Equal Subset Sum - 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 a non-empty array nums containing only positive integers, find if the array can be partitioned into two subsets such that the.. 2022. 1. 4.
leetcode 221) Maximal Square LV. Medium 🧐 https://leetcode.com/problems/maximal-square/ Maximal Square - 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 m x n binary matrix filled with 0's and 1's, find the largest square containing only 1's and return its area. Example 1: Input: matrix = [["1","0".. 2022. 1. 4.
leetcode 878) Nth Magical Number LV. Hard 🥵 https://leetcode.com/problems/nth-magical-number/ Nth Magical Number - 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 문제 A positive integer is magical if it is divisible by either a or b. Given the three integers n, a, and b, return the nth magical number. Since the ans.. 2022. 1. 3.
leetcode 790) Domino and Tromino Tiling LV. Medium 🧐 https://leetcode.com/problems/domino-and-tromino-tiling/ Domino and Tromino Tiling - 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 have two types of tiles: a 2 x 1 domino shape and a tromino shape. You may rotate these shapes. Given an integer n, return the nu.. 2022. 1. 2.
leetcode 1217) Minimum Cost to Move Chips to The Same Position LV. Easy 😎 https://leetcode.com/problems/minimum-cost-to-move-chips-to-the-same-position/ Minimum Cost to Move Chips to The Same Position - 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 have n chips, where the position of the ith chip is position[i]. We need to move all the.. 2022. 1. 2.
LeetCode 476) Number Complement LV. Easy 😎 https://leetcode.com/problems/number-complement/ Number Complement - 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 문제 The complement of an integer is the integer you get when you flip all the 0's to 1's and all the 1's to 0's in its binary representation. For example, .. 2021. 12. 30.
728x90