原创 LeetCode #895 Maximum Frequency Stack 最大頻率棧 895 Maximum Frequency Stack 最大頻率棧
895 Maximum Frequency Stack 最大頻率棧 Description: Design a stack-like data structure to push elements to the stack and pop
原创 LeetCode #894 All Possible Full Binary Trees 所有可能的滿二叉樹 894 All Possible Full Binary Trees 所有可能的滿二叉樹
894 All Possible Full Binary Trees 所有可能的滿二叉樹 Description: Given an integer n, return a list of all possible full binary
原创 LeetCode #890 Find and Replace Pattern 查找和替換模式 890 Find and Replace Pattern 查找和替換模式
890 Find and Replace Pattern 查找和替換模式 Description: Given a list of strings words and a string pattern, return a list of w
原创 LeetCode #891 Sum of Subsequence Widths 子序列寬度之和 891 Sum of Subsequence Widths 子序列寬度之和
891 Sum of Subsequence Widths 子序列寬度之和 Description: The width of a sequence is the difference between the maximum and min
原创 LeetCode #887 Super Egg Drop 雞蛋掉落 887 Super Egg Drop 雞蛋掉落
887 Super Egg Drop 雞蛋掉落 Description: You are given k identical eggs and you have access to a building with n floors labe
原创 LeetCode #886 Possible Bipartition 可能的二分法 886 Possible Bipartition 可能的二分法
886 Possible Bipartition 可能的二分法 Description: We want to split a group of n people (labeled from 1 to n) into two groups
原创 LeetCode #885 Spiral Matrix III 螺旋矩陣 III 885 Spiral Matrix III 螺旋矩陣 III
885 Spiral Matrix III 螺旋矩陣 III Description: You start at the cell (rStart, cStart) of an rows x cols grid facing east. T
原创 LeetCode #881 Boats to Save People 救生艇 881 Boats to Save People 救生艇
881 Boats to Save People 救生艇 Description: You are given an array people where people[i] is the weight of the ith person,
原创 LeetCode #880 Decoded String at Index 索引處的解碼字符串 880 Decoded String at Index 索引處的解碼字符串
880 Decoded String at Index 索引處的解碼字符串 Description: You are given an encoded string s. To decode the string to a tape, th
原创 LeetCode #879 Profitable Schemes 盈利計劃 879 Profitable Schemes 盈利計劃
879 Profitable Schemes 盈利計劃 Description: There is a group of n members, and a list of various crimes they could commit.
原创 LeetCode #878 Nth Magical Number 第 N 個神奇數字 878 Nth Magical Number 第 N 個神奇數字
878 Nth Magical Number 第 N 個神奇數字 Description: A positive integer is magical if it is divisible by either a or b. Given t
原创 LeetCode #877 Stone Game 石子游戲 877 Stone Game 石子游戲
877 Stone Game 石子游戲 Description: Alice and Bob play a game with piles of stones. There are an even number of piles arran
原创 LeetCode #875 Koko Eating Bananas 愛喫香蕉的珂珂 875 Koko Eating Bananas 愛喫香蕉的珂珂
875 Koko Eating Bananas 愛喫香蕉的珂珂 Description: Koko loves to eat bananas. There are n piles of bananas, the ith pile has p
原创 LeetCode #871 Minimum Number of Refueling Stops 最低加油次數 871 Minimum Number of Refueling Stops 最低加油次數
871 Minimum Number of Refueling Stops 最低加油次數 Description: A car travels from a starting position to a destination which
原创 LeetCode #870 Advantage Shuffle 優勢洗牌 870 Advantage Shuffle 優勢洗牌
870 Advantage Shuffle 優勢洗牌 Description: You are given two integer arrays nums1 and nums2 both of the same length. The ad