2016年6月12日

18. 4Sum

摘要: 1. 问题描述 Given an array S of n integers, are there elements a, b, c, and d in S such that a + b + c + d = target? Find all unique quadruplets in the ar 阅读全文

posted @ 2016-06-12 21:35 whl-hl 阅读(124) 评论(0) 推荐(0) 编辑

15. 3Sum

摘要: 1. 问题描述 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 阅读全文

posted @ 2016-06-12 21:29 whl-hl 阅读(116) 评论(0) 推荐(0) 编辑

导航