IP属地:宾夕法尼亚州
732. My Calendar III Implement a MyCalendarThree class to store your eve...
283. Move Zeros Given an array nums, write a function to move all 0's to...
BFS找最短路径用level order,有模版。图上的搜素记得考虑用户visited数组 675. Cut Off Trees for Gol...
hashmap<count,index> map.containsKey()时更新最值不put,没有时put 根据后面找前面,不用初始化pref...
404. Sum of Left Leaves 3/ 9 20/ 15 7 There are two left leaves in t...
二分Index 287. Find the Duplicate Number Given an array nums containing n ...
Stack 735. Asteroid Collision We are given an array asteroids of integer...
341. Flatten Nested List Iterator Stack的用法,list从后往前加入stack。如果涉及到移除元素的话 s...