LeetCode

2287. Rearrange Characters to Make Target String

2287. Rearrange Characters to Make Target String 同 1189. Maximum

1189. Maximum Number of Balloons

1189. Maximum Number of Balloons class Solution: def maxNumberOfBalloons(self,

1133. Largest Unique Number

1133. Largest Unique Number class Solution: def largestUniqueNumber(self, nums:

2225. Find Players With Zero or One Losses

2225. Find Players With Zero or One Losses class Solution:

2294. Partition Array Such That Maximum Difference Is K

2294. Partition Array Such That Maximum Difference Is K 這個題目屬於

2126. Destroying Asteroids

2126. Destroying Asteroids class Solution: def asteroidsDestroyed(self, mass: int,

901. Online Stock Span

901. Online Stock Span 這個題目真的算是非常難,沒有寫過的話面試真的很難有機會寫出來。 class StockSpanner: def __init_

739. Daily Temperatures

739. Daily Temperatures class Solution: def dailyTemperatures(self, temperatures: List[

496. Next Greater Element I

496. Next Greater Element I class Solution: def nextGreaterElement(self,

346. Moving Average from Data Stream

346. Moving Average from Data Stream class MovingAverage: def __init_