- 博客(3)
- 收藏
- 关注
原创 LeetCode 19. Remove Nth Node From End of List
题目描述Given a linked list, remove the nth node from the end of list and return its head.For example, Given linked list: 1->2->3->4->5, and n = 2. After removing the second node from the end, the linked
2016-11-24 22:14:44 450
原创 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 which gives the sum of target.Note: The solution se
2016-11-23 23:17:13 445
原创 LeetCode 17. Letter Combinations of a Phone Number
题目描述Given a digit string, return all possible letter combinations that the number could represent.A mapping of digit to letters (just like on the telephone buttons) is given below.Input:Digit string "2
2016-11-17 22:58:52 388
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人