sort
Ber03
:)
展开
-
[LeetCode] 75. Sort Colors (Quick Sort)
1. DescriptionGiven an array with n objects colored red, white or blue, sort them in-place so that objects of the same color are adjacent, with the colors in the order red, white and blue.Here, we w...原创 2019-09-12 05:15:08 · 178 阅读 · 0 评论 -
[LeetCode] 252. Meeting Rooms
原题链接:https://leetcode.com/problems/meeting-rooms/1. DescriptionGiven an array of meeting time intervals consisting of start and end times [[s1,e1],[s2,e2],…] (si < ei), determine if a person coul...原创 2019-09-23 06:32:02 · 212 阅读 · 0 评论 -
[LeetCode] 56. Merge Intervals
原题链接:https://leetcode.com/problems/merge-intervals/1. DescriptionGiven a collection of intervals, merge all overlapping intervals.Example 1:Input: [[1,3],[2,6],[8,10],[15,18]]Output: [[1,6],[8,10...原创 2019-09-23 07:56:35 · 150 阅读 · 0 评论 -
[LeetCode] 253. Meeting Rooms II
原题链接:https://leetcode.com/problems/meeting-rooms-ii/1. DescriptionGiven an array of meeting time intervals consisting of start and end times [[s1,e1],[s2,e2],…] (si < ei), find the minimum number...原创 2019-09-24 11:16:02 · 152 阅读 · 0 评论