Leetcode 题解 (C++/Java/Python/Sql)
文章平均质量分 84
这个系列的题解包括用 C++/Java/Python 写的 leetcode 上的算法题目,和 Sql 写的 leetcode 上的数据库题目。
hcbbt
这个作者很懒,什么都没留下…
展开
-
[LeetCode] 038. Count and Say (Easy) (C++/Python)
[LeetCode] 038. Count and Say (Easy) (C++/Python)原创 2015-07-30 10:04:05 · 2568 阅读 · 0 评论 -
[LeetCode] 037. Sudoku Solver (Hard) (C++)
[LeetCode] 037. Sudoku Solver (Hard) (C++)原创 2015-03-13 19:33:27 · 2102 阅读 · 0 评论 -
[LeetCode] 036. Valid Sudoku (Easy) (C++)
[LeetCode] 036. Valid Sudoku (Easy) (C++)原创 2015-03-13 19:13:46 · 2302 阅读 · 0 评论 -
[LeetCode] 035. Search Insert Position (Medium) (C++)
[LeetCode] 035. Search Insert Position (Medium) (C++)原创 2015-03-13 18:57:30 · 1578 阅读 · 0 评论 -
[LeetCode] 034. Search for a Range (Medium) (C++/Java)
[LeetCode] 034. Search for a Range (Medium) (C++/Java)原创 2015-03-13 18:34:16 · 1973 阅读 · 0 评论 -
[LeetCode] 033. Search in Rotated Sorted Array (Hard) (C++)
[LeetCode] 033. Search in Rotated Sorted Array (Hard) (C++)原创 2015-03-13 16:03:21 · 1557 阅读 · 0 评论 -
[LeetCode] 032. Longest Valid Parentheses (Hard) (C++)
[LeetCode] 032. Longest Valid Parentheses (Hard) (C++)原创 2015-03-13 15:51:18 · 1619 阅读 · 0 评论 -
[LeetCode] 031. Next Permutation (Medium) (C++/Python)
[LeetCode] 031. Next Permutation (Medium) (C++/Python)原创 2015-03-07 16:11:46 · 2636 阅读 · 0 评论 -
[LeetCode] 030. Substring with Concatenation of All Words (Hard) (C++/Java)
[LeetCode] 030. Substring with Concatenation of All Words (Hard) (C++/Java)原创 2015-03-06 22:14:12 · 3554 阅读 · 0 评论 -
[LeetCode] 029. Divide Two Integers (Medium) (C++/Python)
[LeetCode] 029. Divide Two Integers (Medium) (C++/Python)原创 2015-03-06 15:29:55 · 3162 阅读 · 0 评论 -
[LeetCode] 028. Implement strStr() (Easy) (C++/Python)
[LeetCode] 028. Implement strStr() (Easy) (C++/Python)原创 2015-03-06 15:05:22 · 3272 阅读 · 0 评论 -
[LeetCode] 027. Remove Element (Easy) (C++)
[LeetCode] 027. Remove Element (Easy) (C++)原创 2015-03-06 11:35:31 · 2247 阅读 · 0 评论 -
[LeetCode] 026. Remove Duplicates from Sorted Array (Easy) (C++/Java)
[LeetCode] 026. Remove Duplicates from Sorted Array (Easy) (C++/Java)原创 2015-03-05 15:47:20 · 1692 阅读 · 0 评论 -
[LeetCode] 025. Reverse Nodes in k-Group (Hard) (C++/Java)
[LeetCode] 025. Reverse Nodes in k-Group (Hard) (C++/Java)原创 2015-03-05 15:04:52 · 3553 阅读 · 0 评论 -
[LeetCode] 024. Swap Nodes in Pairs (Medium) (C++/Python)
[LeetCode] 024. Swap Nodes in Pairs (Medium) (C++/Python)原创 2015-03-05 14:39:27 · 2480 阅读 · 0 评论 -
[LeetCode] 023. Merge k Sorted Lists (Hard) (C++/Java/Python)
[LeetCode] 023. Merge k Sorted Lists (Hard) (C++/Java/Python)原创 2015-03-05 11:19:11 · 3409 阅读 · 0 评论 -
[LeetCode] 022. Generate Parentheses (Medium) (C++/Java/Python)
[LeetCode] 022. Generate Parentheses (Medium) (C++/Java/Python)原创 2015-03-05 10:29:28 · 1974 阅读 · 3 评论 -
[LeetCode] 021. Merge Two Sorted Lists (Easy) (C++/Python)
[LeetCode] 021. Merge Two Sorted Lists (Easy) (C++/Python)原创 2015-03-04 20:11:32 · 4633 阅读 · 1 评论 -
[LeetCode] 020. Valid Parentheses (Easy) (C++/Java/Python)
[LeetCode] 020. Valid Parentheses (Easy) (C++/Java/Python)原创 2015-03-04 19:53:48 · 3772 阅读 · 0 评论 -
[LeetCode] 019. Remove Nth Node From End of List (Easy) (C++/Python)
[LeetCode] 019. Remove Nth Node From End of List (Easy) (C++/Python)原创 2015-03-04 19:26:10 · 2976 阅读 · 2 评论 -
[LeetCode] 018. 4Sum (Medium) (C++/Java/Python)
[LeetCode] 018. 4Sum (Medium) (C++/Java/Python)原创 2015-03-04 17:57:45 · 3405 阅读 · 0 评论 -
[LeetCode] 017. Letter Combinations of a Phone Number (Medium) (C++/Java/Python)
[LeetCode] 017. Letter Combinations of a Phone Number (Medium) (C++/Java/Python)原创 2015-03-04 15:47:24 · 3746 阅读 · 0 评论 -
[LeetCode] 016. 3Sum Closest (Medium) (C++/Java/Python)
[LeetCode] 016. 3Sum Closest (Medium) (C++/Java/Python)原创 2015-03-03 19:10:29 · 3120 阅读 · 1 评论 -
[LeetCode] 015. 3Sum (Medium) (C++/Java/Python)
[LeetCode] 015. 3Sum (Medium) (C++/Java/Python)原创 2015-03-03 18:53:30 · 3719 阅读 · 0 评论 -
[LeetCode] 014. Longest Common Prefix (Easy) (C++/Java/Python)
[LeetCode] 014. Longest Common Prefix (Easy) (C++/Java/Python)原创 2015-03-03 15:34:34 · 4787 阅读 · 0 评论 -
[LeetCode] 013. Roman to Integer (Easy) (C++/Java/Python)
[LeetCode] 013. Roman to Integer (Easy) (C++/Java/Python)原创 2015-03-02 23:19:35 · 3635 阅读 · 0 评论 -
[LeetCode] 012. Integer to Roman (Medium) (C++/Java/Python)
[LeetCode] 012. Integer to Roman (Medium) (C++/Java/Python)原创 2015-03-02 23:08:00 · 2839 阅读 · 0 评论 -
[LeetCode] 011. Container With Most Water (Medium) (C++/Java/Python)
[LeetCode] 011. Container With Most Water (Medium) (C++/Java/Python)原创 2015-03-02 22:51:59 · 2257 阅读 · 0 评论 -
[LeetCode] 010. Regular Expression Matching (Hard) (C++/Java/Python)
[LeetCode] 010. Regular Expression Matching (Hard) (C++/Java/Python)原创 2015-03-02 11:20:51 · 5359 阅读 · 3 评论 -
[LeetCode] 009. Palindrome Number (Easy) (C++/Java/Python)
[LeetCode] 009. Palindrome Number (Easy) (C++/Java/Python)原创 2015-03-01 10:13:26 · 3135 阅读 · 0 评论 -
[LeetCode] 008. String to Integer (Easy) (C++/Java/Python)
[LeetCode] 008. String to Integer (Easy) (C++/Java/Python)原创 2015-03-01 10:07:47 · 2326 阅读 · 0 评论 -
[LeetCode] 007. Reverse Integer (Easy) (C++/Java/Python)
[LeetCode] 007. Reverse Integer (Easy) (C++/Java/Python)原创 2015-02-28 00:17:09 · 3577 阅读 · 1 评论 -
[LeetCode] 006. ZigZag Conversion (Easy) (C++/Java/Python)
[LeetCode] 006. ZigZag Conversion (Easy) (C++/Java/Python)原创 2015-02-28 00:13:47 · 3096 阅读 · 0 评论 -
[LeetCode] 005. Longest Palindromic Substring (Medium) (C++/Java/Python)
[LeetCode] 005. Longest Palindromic Substring (Medium) (C++/Java/Python)原创 2015-02-28 00:09:45 · 3639 阅读 · 0 评论 -
[LeetCode] 004. Median of Two Sorted Arrays (Hard) (C++/Java/Python)
[LeetCode] 004. Median of Two Sorted Arrays (Hard) (C++/Java/Python)原创 2015-02-28 00:03:30 · 6350 阅读 · 3 评论 -
[LeetCode] 003. Longest Substring Without Repeating Characters (Medium) (C++/Java/Python)
[LeetCode] 003. Longest Substring Without Repeating Characters (Medium) (C++/Java/Python)原创 2015-02-27 12:55:12 · 6929 阅读 · 4 评论 -
[LeetCode] 002. Add Two Numbers (Medium) (C++/Java/Python)
002.Add_Two_Numbers (Medium)原创 2015-02-27 12:43:08 · 7377 阅读 · 12 评论 -
[LeetCode] 001. Two Sum (Medium) (C++/Java/Python)
001.Two_Sum (Medium)原创 2015-02-27 12:28:16 · 10548 阅读 · 6 评论 -
[LeetCode] Leetcode 题解索引 (C++/Java/Python/Sql)
全部最新的题解可以在 我的 github 上找,欢迎 star 和 watch ~ 更新中~~说明这个系列的题解包括用 C++/Java/Python 写的 leetcode 上的算法题目,和 Sql 写的 leetcode 上的数据库题目。 有些题目虽然 AC 了却还没写分析,所以这次就开坑来完成。链接:我的 github Leetcode原创 2015-03-11 09:49:50 · 30508 阅读 · 2 评论