摘要: 题意 Given n non negative integers a1, a2, ..., an, where each represents a point at coordinate (i, ai). n vertical lines are drawn such that the two en 阅读全文
posted @ 2016-05-11 20:25 Decouple 阅读(247) 评论(0) 推荐(0)
摘要: 详细介绍: https://tp iiita.quora.com/The Two Pointer Algorithm 阅读全文
posted @ 2016-05-11 20:15 Decouple 阅读(448) 评论(0) 推荐(0)