- 博客(2)
- 收藏
- 关注
原创 Second Max of Array
Find the second max number in a given array.ExampleExample1:Input: [1,3,2,4]Output: 3Example2:Input: [1,1,2,2]Output: 2NoticeYou can assume the array contains at least two numbers.The second max number is the second number in a descend
2020-11-02 11:56:21 259 1
原创 Furthest Building You Can Reach
You are given an integer arrayheightsrepresenting the heights of buildings, somebricks, and someladders.You start your journey from building0and move to the next building by possibly using bricks or ladders.While moving from buildingito buildin...
2020-11-01 13:21:27 380
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人