본문 바로가기
728x90
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 941) Valid Mountain Array LV. Easy 😎 https://leetcode.com/problems/valid-mountain-array/ Valid Mountain 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 arr, return true if and only if it is a valid mountain array. Recall that arr is a mountain array if and only if: arr... 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 134) Gas Station LV. Medium 🧐 https://leetcode.com/problems/gas-station/description/ Gas Station - 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 문제 There are n gas stations along a circular route, where the amount of gas at the ith station is gas[i]. You have a car with an unlimited gas tank and .. 2022. 1. 21.
leetcode 875) Koko Eating Bananas LV. Medium 🧐 https://leetcode.com/problems/koko-eating-bananas/description/ Koko Eating Bananas - 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 문제 Koko loves to eat bananas. There are n piles of bananas, the ith pile has piles[i] bananas. The guards have gone and will come back i.. 2022. 1. 21.
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 605) Can Place Flowers LV. Easy 😎 https://leetcode.com/problems/can-place-flowers/ Can Place Flowers - 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 a long flowerbed in which some of the plots are planted, and some are not. However, flowers cannot be planted in adjacent plots. Given an inte.. 2022. 1. 18.
728x90