본문 바로가기
728x90
leetcode 532) K-diff Pairs in an Array LV. Medium 🧐 https://leetcode.com/problems/k-diff-pairs-in-an-array/ K-diff Pairs in an Array - 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 array of integers nums and an integer k, return the number of unique k-diff pairs in the array. A k-diff pair is an integer pa.. 2022. 2. 9.
leetcode 258) Add Digits LV. Easy 😎 https://leetcode.com/problems/add-digits/ Add Digits - 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 num, repeatedly add all its digits until the result has only one digit, and return it. Example 1: Input: num = 38 Output: 2 Explanation: The process.. 2022. 2. 8.
leetcode 389) Find the Difference LV. Easy 😎 https://leetcode.com/problems/find-the-difference/ Find the Difference - 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 given two strings s and t. String t is generated by random shuffling string s and then add one more letter at a random position. Return the.. 2022. 2. 7.
leetcode 80) Remove Duplicates from Sorted Array II LV. Medium 🧐 https://leetcode.com/problems/remove-duplicates-from-sorted-array-ii/ Remove Duplicates from Sorted Array II - 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 sorted in non-decreasing order, remove some duplicates in-place such that each .. 2022. 2. 6.
leetcode 525) Contiguous Array LV. Medium 🧐 https://leetcode.com/problems/contiguous-array/description/ Contiguous Array - 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 binary array nums, return the maximum length of a contiguous subarray with an equal number of 0 and 1. Example 1: Input: nums = [0,.. 2022. 2. 5.
leetcode 23) Merge k Sorted Lists LV. Hard 🥵 https://leetcode.com/problems/merge-k-sorted-lists/ Merge k Sorted Lists - 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 given an array of k linked-lists lists, each linked-list is sorted in ascending order. Merge all the linked-lists into one sorted linked-.. 2022. 2. 5.
leetcode 1672) Richest Customer Wealth LV. Easy 😎 https://leetcode.com/problems/richest-customer-wealth/ Richest Customer Wealth - 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 given an m x n integer grid accounts where accounts[i][j] is the amount of money the i​​​​​​​​​​​th​​​​ customer has in the j​​​​​​.. 2022. 2. 1.
leetcode 121) Best Time to Buy and Sell Stock LV. Easy 😎 https://leetcode.com/problems/best-time-to-buy-and-sell-stock/ Best Time to Buy and Sell Stock - 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 given an array prices where prices[i] is the price of a given stock on the ith day. You want to maximize your profi.. 2022. 2. 1.
leetcode 189) Rotate Array LV. Medium 🧐 https://leetcode.com/problems/rotate-array/ Rotate Array - 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 array, rotate the array to the right by k steps, where k is non-negative. Example 1: Input: nums = [1,2,3,4,5,6,7], k = 3 Output: [5,6,7,1,2,3,4] Expl.. 2022. 1. 30.
leetcode 1305) All Elements in Two Binary Search Trees LV. Medium 🧐 https://leetcode.com/problems/all-elements-in-two-binary-search-trees/ All Elements in Two Binary Search Trees - 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 two binary search trees root1 and root2, return a list containing all the integers from both trees .. 2022. 1. 26.
728x90