【56】Merge Intervals
【57】Insert Interval
【75】Sort Colors
【147】Insertion Sort List
【148】Sort List
【164】Maximum Gap
【179】Largest Number
【242】Valid Anagram
【252】Meeting Rooms (2018年11月22日,为了冲题量)
【253】Meeting Rooms II (2018年11月22日,为了冲题量)
【274】H-Index
【280】Wiggle Sort
【296】Best Meeting Point
【324】Wiggle Sort II
【349】Intersection of Two Arrays (2018年11月6日,算法群相关题)
给了两个数组,返回他们交叠的元素,如果有重复元素的话,只返回一个就行了。
hash-table 里面有这题,我就不重复写了。hash-table:https://www.cnblogs.com/zhangwanying/p/9886262.html
【350】Intersection of Two Arrays II (2018年11月6日,算法群)
给了两个数组,返回他们所有交叠的元素,元素可以任意顺序返回,但是如果一个元素在A,B数组中都出现多次,需要返回公共的多次。
hash-table 里面有这题,我就不重复写了。hash-table:https://www.cnblogs.com/zhangwanying/p/9886262.html
【524】Longest Word in Dictionary through Deleting
【527】Word Abbreviation
【710】Random Pick with Blacklist
【767】Reorganize String
原文:https://www.cnblogs.com/zhangwanying/p/9914941.html