LeetCode
文章平均质量分 85
Snowwolf_Yang
这个作者很懒,什么都没留下…
展开
-
【LeetCode】Surrounded Regions
参考链接http://blog.csdn.net/doc_sgl/article/details/11836967http://blog.csdn.net/pickless/article/details/12074363题目描述题目分析总结代码示例推荐学习C++的资料C++标准函数库htt原创 2014-05-21 14:22:02 · 413 阅读 · 0 评论 -
【LeetCode】Recover Binary Search Tree
参考链接题目描述题目分析总结代码示例推荐学习C++的资料C++标准函数库http://download.csdn.net/detail/chinasnowwolf/7108919在线C++API查询http://www.cplusplus.com/map使用方法htt原创 2014-05-23 20:19:26 · 580 阅读 · 0 评论 -
【LeetCode】Valid Sudoku
参考链接题目描述题目分析总结代码示例推荐学习C++的资料C++标准函数库http://download.csdn.net/detail/chinasnowwolf/7108919在线C++API查询http://www.cplusplus.com/map使用方法htt原创 2014-05-24 16:22:33 · 530 阅读 · 0 评论 -
【LeetCode】Multiply Strings
参考链接题目描述题目分析总结代码示例推荐学习C++的资料C++标准函数库http://download.csdn.net/detail/chinasnowwolf/7108919在线C++API查询http://www.cplusplus.com/map使用方法htt原创 2014-05-24 22:36:02 · 419 阅读 · 0 评论 -
【LeetCode】Distinct Subsequences
http://blog.csdn.net/xshalk/article/details/8223120http://blog.csdn.net/bigapplestar/article/details/17523391http://blog.csdn.net/jellyyin/article/details/9060709原创 2014-04-15 20:10:50 · 498 阅读 · 0 评论 -
【LeetCode】Clone Graph
参考链接题目描述题目分析总结代码示例推荐学习C++的资料C++标准函数库http://download.csdn.net/detail/chinasnowwolf/7108919在线C++API查询http://www.cplusplus.com/map使用方法htt原创 2014-05-26 20:14:41 · 486 阅读 · 0 评论 -
【LeetCode】First Missing Positive
参考链接题目描述题目分析总结代码示例推荐学习C++的资料C++标准函数库http://download.csdn.net/detail/chinasnowwolf/7108919在线C++API查询http://www.cplusplus.com/map使用方法htt原创 2014-05-26 21:55:42 · 454 阅读 · 0 评论 -
【LeetCode】ZigZag Conversion
参考链接题目描述题目分析总结代码示例推荐学习C++的资料C++标准函数库http://download.csdn.net/detail/chinasnowwolf/7108919在线C++API查询http://www.cplusplus.com/map使用方法htt原创 2014-05-28 10:26:22 · 479 阅读 · 0 评论 -
【LeetCode】Count and Say
参考链接题目描述题目分析总结代码示例推荐学习C++的资料C++标准函数库http://download.csdn.net/detail/chinasnowwolf/7108919在线C++API查询http://www.cplusplus.com/map使用方法htt原创 2014-05-28 17:16:24 · 424 阅读 · 0 评论 -
【LeetCode】Word Search
参考链接题目描述题目分析总结代码示例推荐学习C++的资料C++标准函数库http://download.csdn.net/detail/chinasnowwolf/7108919在线C++API查询http://www.cplusplus.com/map使用方法htt原创 2014-06-07 14:26:45 · 469 阅读 · 0 评论 -
【LeetCode】Candy
参考链接题目描述题目分析总结代码示例推荐学习C++的资料C++标准函数库http://download.csdn.net/detail/chinasnowwolf/7108919在线C++API查询http://www.cplusplus.com/map使用方法htt原创 2014-05-23 15:05:22 · 628 阅读 · 0 评论 -
【LeetCode】Edit Distance
参考链接题目描述题目分析总结代码示例推荐学习C++的资料C++标准函数库http://download.csdn.net/detail/chinasnowwolf/7108919在线C++API查询http://www.cplusplus.com/map使用方法htt原创 2014-05-24 20:38:01 · 484 阅读 · 0 评论 -
【LeetCode】Scramble String
参考链接题目描述题目分析总结代码示例推荐学习C++的资料C++标准函数库http://download.csdn.net/detail/chinasnowwolf/7108919在线C++API查询http://www.cplusplus.com/map使用方法htt原创 2014-05-21 16:20:00 · 513 阅读 · 0 评论 -
【LeetCode】Interleaving String
参考链接题目描述题目分析总结代码示例推荐学习C++的资料C++标准函数库http://download.csdn.net/detail/chinasnowwolf/7108919在线C++API查询http://www.cplusplus.com/map使用方法htt原创 2014-05-21 17:08:54 · 501 阅读 · 0 评论 -
【LeetCode】word break I && II
参考链接题目描述题目分析总结代码示例推荐学习C++的资料C++标准函数库http://download.csdn.net/detail/chinasnowwolf/7108919在线C++API查询http://www.cplusplus.com/map使用方法htt原创 2014-05-22 10:55:09 · 629 阅读 · 0 评论 -
【LeetCode】word ladder I&& II
参考链接http://www.cnblogs.com/x1957/p/3274819.html题目描述题目分析总结代码示例推荐学习C++的资料C++标准函数库http://download.csdn.net/detail/chinasnowwolf/7108919在线C++API查询原创 2014-05-20 09:44:05 · 691 阅读 · 0 评论 -
【LeetCode】Palindrome Partitioning I && II
参考链接题目描述题目分析总结代码示例推荐学习C++的资料C++标准函数库http://download.csdn.net/detail/chinasnowwolf/7108919在线C++API查询http://www.cplusplus.com/map使用方法htt原创 2014-05-22 16:08:54 · 492 阅读 · 0 评论 -
【LeetCode】Longest Palindromic Substring
参考链接http://blog.csdn.net/feliciafay/article/details/16984031http://leetcode.com/2011/11/longest-palindromic-substring-part-ii.html题目描述题目分析总结代码示例推荐学习C+原创 2014-05-21 10:16:33 · 519 阅读 · 0 评论 -
【LeetCode】Substring with Concatenation of All Words
参考链接http://www.cnblogs.com/Rosanna/p/3444156.html题目描述题目分析总结代码示例推荐学习C++的资料C++标准函数库http://download.csdn.net/detail/chinasnowwolf/7108919在线C++API原创 2014-05-22 20:55:28 · 567 阅读 · 0 评论 -
【LeetCode】Longest Common Prefix
参考链接题目描述题目分析总结代码示例推荐学习C++的资料C++标准函数库http://download.csdn.net/detail/chinasnowwolf/7108919在线C++API查询http://www.cplusplus.com/map使用方法htt原创 2014-05-24 19:44:43 · 477 阅读 · 0 评论 -
【LeetCode】Merge Intervals && Insert Interval
参考链接题目描述题目分析总结代码示例推荐学习C++的资料C++标准函数库http://download.csdn.net/detail/chinasnowwolf/7108919在线C++API查询http://www.cplusplus.com/map使用方法htt原创 2014-05-29 14:09:56 · 529 阅读 · 0 评论 -
【LeetCode】Maximum Depth of Binary Tree
题目描述http://oj.leetcode.com/problems/maximum-depth-of-binary-tree/Maximum Depth of Binary Tree Given a binary tree, find its maximum depth.The maximum depth is the number of原创 2014-04-03 11:49:06 · 596 阅读 · 0 评论 -
【LeetCode】Maximal Rectangle
参考链接http://blog.csdn.net/littlestream9527/article/details/19641013题目描述题目分析总结代码示例推荐学习C++的资料C++标准函数库http://download.csdn.net/detail/chinasnowwolf/71原创 2014-07-06 21:56:22 · 501 阅读 · 0 评论 -
【LeetCode】Convert Sorted List to Binary Search Tree
Convert Sorted List to Binary Search Tree Total Accepted: 16035 Total Submissions: 59053My SubmissionsGiven a singly linked list where elements are sorted in ascending order, convert it原创 2014-08-17 11:36:45 · 595 阅读 · 0 评论 -
【LeetCode】 Rotate List
Rotate List Total Accepted: 13773 Total Submissions: 62790My SubmissionsGiven a list, rotate the list to the right by k places, where k is non-negative.For example:Given 1->2->3->4->原创 2014-08-15 22:36:27 · 445 阅读 · 0 评论 -
【LeetCode】Partition List
Partition List Total Accepted: 14597 Total Submissions: 54894My SubmissionsGiven a linked list and a value x, partition it such that all nodes less than x come before nodes greater than原创 2014-08-16 23:42:07 · 475 阅读 · 0 评论 -
【LeetCode】Longest Consecutive Sequence
参考链接题目描述题目分析总结代码示例推荐学习C++的资料C++标准函数库http://download.csdn.net/detail/chinasnowwolf/7108919在线C++API查询http://www.cplusplus.com/map使用方法htt原创 2014-06-19 13:04:44 · 469 阅读 · 0 评论 -
【LeetCode】Restore IP Addresses
参考链接题目描述题目分析总结代码示例推荐学习C++的资料C++标准函数库http://download.csdn.net/detail/chinasnowwolf/7108919在线C++API查询http://www.cplusplus.com/map使用方法htt原创 2014-05-28 16:48:20 · 475 阅读 · 0 评论 -
【leetcode】Largest Rectangle in Histogram
参考链接题目描述题目分析总结代码示例推荐学习C++的资料C++标准函数库http://download.csdn.net/detail/chinasnowwolf/7108919在线C++API查询http://www.cplusplus.com/map使用方法htt原创 2014-06-19 11:39:31 · 504 阅读 · 0 评论 -
【LeetCode】Reverse Linked List II
Reverse Linked List II Total Accepted: 15366 Total Submissions: 59341My SubmissionsReverse a linked list from position m to n. Do it in-place and in one-pass.For example:Given 1->2->原创 2014-08-17 11:40:35 · 523 阅读 · 0 评论 -
【LeetCode】Valid Parentheses & Generate Parentheses & Longest Valid Parentheses
Generate Parentheses Total Accepted: 10434 Total Submissions: 34043My SubmissionsGiven n pairs of parentheses, write a function to generate all combinations of well-formed parentheses.原创 2014-04-22 16:13:36 · 515 阅读 · 0 评论 -
【LeetCode】Remove Duplicates from Sorted List & Remove Duplicates from Sorted List II
Remove Duplicates from Sorted List Total Accepted: 22211 Total Submissions: 63769My SubmissionsGiven a sorted linked list, delete all duplicates such that each element appear only once.原创 2014-08-16 00:01:36 · 587 阅读 · 0 评论 -
【LeetCode】Merge Two Sorted Lists & Merge k Sorted Lists
Merge Two Sorted Lists Total Accepted: 20769 Total Submissions: 62658My SubmissionsMerge two sorted linked lists and return it as a new list. The new list should be made by splicing toge原创 2014-08-15 23:03:58 · 454 阅读 · 0 评论 -
【LeetCode】Remove Nth Node From End of List
Remove Nth Node From End of List Total Accepted: 17965 Total Submissions: 60372My SubmissionsGiven a linked list, remove the nth node from the end of list and return its head.For examp原创 2014-08-14 22:22:17 · 423 阅读 · 0 评论 -
【LeetCode】Binary Tree Maximum Path Sum
参考链接题目描述题目分析总结代码示例推荐学习C++的资料C++标准函数库http://download.csdn.net/detail/chinasnowwolf/7108919在线C++API查询http://www.cplusplus.com/原创 2014-04-21 16:38:57 · 608 阅读 · 0 评论 -
【LeetCode】Reverse Words in a String
Reverse Words in a String Total Accepted: 24045 Total Submissions: 171847My SubmissionsGiven an input string, reverse the string word by word.For example,Given s = "the sky is blue",原创 2014-08-04 22:54:32 · 500 阅读 · 0 评论 -
【LeetCode】Max Points on a Line
参考:http://blog.csdn.net/ict2014/article/details/17400345题目:Max Points on a Line Given n points on a 2D plane, find the maximum number of points that lie on the same straigh原创 2014-04-01 11:24:34 · 733 阅读 · 0 评论 -
【LeetCode】Sort List
先说自己的参考吧。http://www.cnblogs.com/x1957/p/3492219.html这位大牛写的很精简的,非常好。题目链接http://oj.leetcode.com/problems/sort-list/题目说明:就是要对一个链表进行排序,要求复杂度是nlogn。常见排序算法有: 图片引用:http://blog.chinau原创 2014-03-25 15:14:56 · 710 阅读 · 0 评论 -
【LeetCode】Copy List with Random Pointer
Copy List with Random Pointer Total Accepted: 16149 Total Submissions: 70123My SubmissionsA linked list is given such that each node contains an additional random pointer which could poi原创 2014-08-11 22:53:43 · 435 阅读 · 0 评论 -
【LeetCode】Flatten Binary Tree to Linked List
Flatten Binary Tree to Linked List Total Accepted: 18516 Total Submissions: 66328My SubmissionsGiven a binary tree, flatten it to a linked list in-place.For example,Given 1原创 2014-08-11 23:24:12 · 452 阅读 · 0 评论