leetcode - summer 2021 小记

07/13/2021

[001] 1. Two Sum

[002] 1041. Robot Bounded in Circle

[003] 200. Number of Islands

[004] 146. LRU cache

[005] 56. Merge Intervals ***

// sort intervals[][] by the increasing order of index 0
Arrays.sort(intervals, (a, b) -> a[0] - b[0]);

 

[006] 121. Best Time to Buy and Sell Stock

posted @ 2021-07-14 14:54  oeiuie  阅读(43)  评论(0)    收藏  举报