摘要: 九章算法 Chapter7 两个指针 __Remove Duplicate Numbers in Array__ 思路:删除 相向双指针 __Window Sum__: given an array _nums_ and a value _k_ and a window, the window's 阅读全文
posted @ 2017-09-29 09:56 AugusKong 阅读(375) 评论(0) 推荐(0) 编辑
摘要: Sample code one pump gas station events: arrival + departure arrival departure simulation time: unprocesed events are stored in pending list simulatio 阅读全文
posted @ 2017-09-29 07:56 AugusKong 阅读(218) 评论(0) 推荐(0) 编辑