首页 > 编程语言 > 详细

【LeetCode】排序 sort(共20题)

时间:2018-11-22 01:54:42      阅读:190      评论:0      收藏:0      [点我收藏+]

【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 

【LeetCode】排序 sort(共20题)

原文:https://www.cnblogs.com/zhangwanying/p/9914941.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!