본문 바로가기
728x90
leetcode 2) Add Two Numbers LV. Medium 🧐 https://leetcode.com/problems/add-two-numbers/ Add Two Numbers - 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 non-empty linked lists representing two non-negative integers. The digits are stored in reverse order, and each of their nodes contains.. 2022. 3. 10.
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 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 1510) Stone Game IV LV. Hard 🥵 https://leetcode.com/problems/stone-game-iv/description/ Stone Game IV - 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 문제 Alice and Bob take turns playing a game, with Alice starting first. Initially, there are n stones in a pile. On each player's turn, that player mak.. 2022. 1. 25.
leetcode 1291) Sequential Digits LV. Medium 🧐 https://leetcode.com/problems/sequential-digits/ Sequential 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 문제 An integer has sequential digits if and only if each digit in the number is one more than the previous digit. Return a sorted list of all the integer.. 2022. 1. 25.
leetcode 520) Detect Capital LV. Easy 😎 https://leetcode.com/problems/detect-capital/ Detect Capital - 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 define the usage of capitals in a word to be right when one of the following cases holds: All letters in this word are capitals, like "USA". All letters i.. 2022. 1. 25.
leetcode 849) Maximize Distance to Closest Person LV. Medium 🧐 https://leetcode.com/problems/maximize-distance-to-closest-person/ Maximize Distance to Closest Person - 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 representing a row of seats where seats[i] = 1 represents a person sitting in the ith seat.. 2022. 1. 19.
leetcode 142) Linked List Cycle II LV. Medium 🧐 https://leetcode.com/problems/linked-list-cycle-ii/ Linked List Cycle 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 the head of a linked list, return the node where the cycle begins. If there is no cycle, return null. There is a cycle in a linked list i.. 2022. 1. 19.
leetcode 290) Word Pattern LV. Easy 😎 https://leetcode.com/problems/word-pattern/ Word Pattern - 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 pattern and a string s, find if s follows the same pattern. Here follow means a full match, such that there is a bijection between a letter in pattern an.. 2022. 1. 18.
leetcode 1345) Jump Game IV LV. Hard 🥵 https://leetcode.com/problems/jump-game-iv/ Jump Game IV - 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 arr, you are initially positioned at the first index of the array. In one step you can jump from index i to index: i + 1 where: i + 1 .. 2022. 1. 18.
728x90