[LeetCode] Leetcode 题解索引 (C++/Java/Python/Sql)

这篇博客汇总了作者使用 C++、Java、Python 和 Sql 解答的 LeetCode 算法及数据库题目,包括详细题解和链接。目前在持续更新中,已解决 201/232 道题目,涵盖了从易到难的各种问题。
摘要由CSDN通过智能技术生成

全部最新的题解可以在 我的 github 上找,欢迎 star 和 watch ~
更新中~~


说明

这个系列的题解包括用 C++/Java/Python 写的 leetcode 上的算法题目,和 Sql 写的 leetcode 上的数据库题目。
有些题目虽然 AC 了却还没写分析,所以这次就开坑来完成。


链接:

我的 github
Leetcode Algorithms Problems
Leetcode Database Problems


CSDN 题解索引

  1. [LeetCode] 001. Two Sum (Medium) (C++/Java/Python)
  2. [LeetCode] 002. Add Two Numbers (Medium) (C++/Java/Python)
  3. [LeetCode] 003. Longest Substring Without Repeating Characters (Medium) (C++/Java/Python)
  4. [LeetCode] 004. Median of Two Sorted Arrays (Hard) (C++/Java/Python)
  5. [LeetCode] 005. Longest Palindromic Substring (Medium) (C++/Java/Python)
  6. [LeetCode] 006. ZigZag Conversion (Easy) (C++/Java/Python)
  7. [LeetCode] 007. Reverse Integer (Easy) (C++/Java/Python)
  8. [LeetCode] 008. String to Integer (Easy) (C++/Java/Python)
  9. [LeetCode] 009. Palindrome Number (Easy) (C++/Java/Python)
  10. [LeetCode] 010. Regular Expression Matching (Hard) (C++/Java/Python)
  11. [LeetCode] 011. Container With Most Water (Medium) (C++/Java/Python)
  12. [LeetCode] 012. Integer to Roman (Medium) (C++/Java/Python)
  13. [LeetCode] 013. Roman to Integer (Easy) (C++/Java/Python)
  14. [LeetCode] 014. Longest Common Prefix (Easy) (C++/Java/Python)
  15. [LeetCode] 015. 3Sum (Medium) (C++/Java/Python)
  16. [LeetCode] 016. 3Sum Closest (Medium) (C++/Java/Python)
  17. [LeetCode] 017. Letter Combinations of a Phone Number (Medium) (C++/Java/Python)
  18. [LeetCode] 018. 4Sum (Medium) (C++/Java/Python)
  19. [LeetCode] 019. Remove Nth Node From End of List (Easy) (C++/Python)
  20. [LeetCode] 020. Valid Parentheses (Easy) (C++/Java/Python)
  21. [LeetCode] 021. Merge Two Sorted Lists (Easy) (C++/Python)
  22. [LeetCode] 022. Generate Parentheses (Medium) (C++/Java/Python)
  23. [LeetCode] 023. Merge k Sorted Lists (Hard) (C++/Java/Python)
  24. [LeetCode] 024. Swap Nodes in Pairs (Medium) (C++/Python)
  25. [LeetCode] 025. Reverse Nodes in k-Group (Hard) (C++/Java)
  26. [LeetCode] 026. Remove Duplicates from Sorted Array (Easy) (C++/Java)
  27. [LeetCode] 027. Remove Element (Easy) (C++)
  28. [LeetCode] 028. Implement strStr() (Easy) (C++/Python)
  29. [LeetCode] 029. Divide Two Integers (Medium) (C++/Python)
  30. [LeetCode] 030. Substring with Concatenation of All Words (Hard) (C++/Java)
  31. [LeetCode] 031. Next Permutation (Medium) (C++/Python)
  32. [LeetCode] 032. Longest Valid Parentheses (Hard) (C++)
  33. [LeetCode] 033. Search in Rotated Sorted Array (Hard) (C++)
  34. [LeetCode] 034. Search for a Range (Medium) (C++/Java)
  35. [LeetCode] 035. Search Insert Position (Medium) (C++)
  36. [LeetCode] 036. Valid Sudoku (Easy) (C++)
  37. [LeetCode] 037. Sudoku Solver (Hard) (C++)
  38. [LeetCode] 038. Count and Say (Easy) (C++/Python)

Github 题解索引

(最近见 我的 github

There are 241 problems (9 problems for a fee).

I have solved 201 / 232 problems.=w=

# Problems Solutions Note
001 Two Sum C++ Java Python    Note Here
002 Add Two Numbers C++ Java Python    Note Here
003 Longest Substring Without Repeati… C++ Java Python    Note Here
004 Median of Two Sorted Arrays C++ Java Python    Note Here
005 Longest Palindromic Substring C++ Java Python    Note Here
006 ZigZag Conversion C++ Java Python    Note Here
007 Reverse Integer C++ Java Python    Note Here
008 String to Integer C++ Java Python    Note Here
009 Palindrome Number C++ Java Python    Note Here
010 Regular Expression Matching C++ Java Python    Note Here
011 Container With Most Water C++ Java Python    Note Here
012 Integer to Roman C++ Java Python    Note Here
013 Roman to Integer C++ Java Python    Note Here
014 Longest Common Prefix C++ Java Python    Note Here
015 3Sum C++ Java Python    Note Here
016 3Sum Closest C++ Java Python    Note Here
017 Letter Combinations of a Phone Number C++ Java Python    Note Here
018 4Sum C++ Java Python    Note Here
019 Remove Nth Node From End of List    C++ Python    Note Here
020 Valid Parentheses C++ Java Python    Note Here
021 Merge Two Sorted Lists    C++ Python    Note Here
022 Generate Parentheses C++ Java Python    Note Here
023 Merge k Sorted Lists C++ Java Python    Note Here
024 Swap Nodes in Pairs    C++ Python    Note Here
025 Reverse Nodes in k-Group      C++ Java    
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值