2016年8月28日

【LeetCode】2. Add Two Numbers 解题小结

摘要: 题目: You are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes contain a sin 阅读全文

posted @ 2016-08-28 14:12 医生工程师 阅读(113) 评论(0) 推荐(0) 编辑

【LeetCode】18. 4Sum 解题小结

摘要: 题目: 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 array 阅读全文

posted @ 2016-08-28 11:50 医生工程师 阅读(1187) 评论(0) 推荐(0) 编辑

【LeetCode】 16. 3Sum Closest 解题小结

摘要: 题目:Given an array S of n integers, find three integers in S such that the sum is closest to a given number, target. Return the sum of the three intege 阅读全文

posted @ 2016-08-28 09:58 医生工程师 阅读(157) 评论(0) 推荐(0) 编辑

导航