- 博客(6)
- 资源 (10)
- 收藏
- 关注
原创 23. Merge k Sorted Lists
题目:Merge k Sorted Lists原题链接:https://leetcode.com/problems/merge-k-sorted-lists/Merge k sorted linked lists and return it as one sorted list. Analyze and describe its complexity.合并K个排序好的链表。把所有链表的值都取出来,然
2016-12-30 10:34:38 379
原创 20. Valid Parentheses
题目:Valid Parentheses原题链接:https://leetcode.com/problems/valid-parentheses/Given a string containing just the characters ‘(‘, ‘)’, ‘{‘, ‘}’, ‘[’ and ‘]’, determine if the input string is valid.The bracke
2016-12-30 10:05:39 217
原创 18. 4Sum
题目:4Sum原题链接:https://leetcode.com/problems/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 gi
2016-12-29 21:15:01 256
原创 17. Letter Combinations of a Phone Number
题目:Letter Combinations of a Phone Number原题链接:https://leetcode.com/problems/letter-combinations-of-a-phone-number/Given a digit string, return all possible letter combinations that the number could repr
2016-12-27 10:56:03 281
原创 15. 3Sum
题目:3Sum原题链接:https://leetcode.com/problems/3sum/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 zero
2016-12-18 22:18:48 310
原创 14. Longest Common Prefix
题目:Longest Common Prefix原题链接:https://leetcode.com/problems/longest-common-prefix/Write a function to find the longest common prefix string amongst an array of strings.设计函数实现查找一组字符串中的公共最长前缀子串。设ans为公共最长前
2016-12-18 21:28:36 286
C++经典书籍合集
2017-06-17
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人