摘要: Given an array nums of integers and an int k, partition the array (i.e move the elements in "nums") such that:* All elements < k are moved to the left 阅读全文
posted @ 2018-08-30 05:43 jasminemzy 阅读(129) 评论(0) 推荐(0) 编辑
摘要: Given an array S of n integers, are there elements a, b, c in S such that a + b + c = 0? Find all unique triplets in the array which gives the sum of 阅读全文
posted @ 2018-08-30 03:06 jasminemzy 阅读(177) 评论(0) 推荐(0) 编辑