# LeetCode **Repository Path**: scottq/leet-code ## Basic Information - **Project Name**: LeetCode - **Description**: No description available - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-05-10 - **Last Updated**: 2022-02-10 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # LeetCode ## 目录说明 q开头为题库,i开头为面试题 - ./q008 #题目编号作为目录名, - meta.json #题目元信息json文件 - go #对应开发语言解决代码 ## Solutions | ID | Title | CnTitle | Solution | | ---- | ---- | ---- | ---- | | 1 | [Two Sum](https://leetcode-cn.com/problems/two-sum) | [两数之和](https://leetcode-cn.com/problems/two-sum) | | | 2 | [Add Two Numbers](https://leetcode-cn.com/problems/add-two-numbers) | [两数相加](https://leetcode-cn.com/problems/add-two-numbers) | | | 3 | [Longest Substring Without Repeating Characters](https://leetcode-cn.com/problems/longest-substring-without-repeating-characters) | [无重复字符的最长子串](https://leetcode-cn.com/problems/longest-substring-without-repeating-characters) | | | 4 | [Median of Two Sorted Arrays](https://leetcode-cn.com/problems/median-of-two-sorted-arrays) | [寻找两个正序数组的中位数](https://leetcode-cn.com/problems/median-of-two-sorted-arrays) | [PHP](././src/p00004) | | 5 | [Longest Palindromic Substring](https://leetcode-cn.com/problems/longest-palindromic-substring) | [最长回文子串](https://leetcode-cn.com/problems/longest-palindromic-substring) | [PHP](././src/p00005) | | 6 | [ZigZag Conversion](https://leetcode-cn.com/problems/zigzag-conversion) | [Z 字形变换](https://leetcode-cn.com/problems/zigzag-conversion) | [PHP](././src/p00006) | | 7 | [Reverse Integer](https://leetcode-cn.com/problems/reverse-integer) | [整数反转](https://leetcode-cn.com/problems/reverse-integer) | [PHP](././src/p00007) | | 8 | [String to Integer (atoi)](https://leetcode-cn.com/problems/string-to-integer-atoi) | [字符串转换整数 (atoi)](https://leetcode-cn.com/problems/string-to-integer-atoi) | [PHP](././src/p00008) | | 9 | [Palindrome Number](https://leetcode-cn.com/problems/palindrome-number) | | [Go](././src/p00009) | | 11 | [Container With Most Water](https://leetcode-cn.com/problems/container-with-most-water) | [盛最多水的容器](https://leetcode-cn.com/problems/container-with-most-water) | [PHP](././src/p00011) | | 12 | [Integer to Roman](https://leetcode-cn.com/problems/integer-to-roman) | [整数转罗马数字](https://leetcode-cn.com/problems/integer-to-roman) | [PHP](././src/p00012) | | 13 | [Roman to Integer](https://leetcode-cn.com/problems/roman-to-integer) | [罗马数字转整数](https://leetcode-cn.com/problems/roman-to-integer) | [PHP](././src/p00013) | | 14 | [Longest Common Prefix](https://leetcode-cn.com/problems/longest-common-prefix) | [最长公共前缀](https://leetcode-cn.com/problems/longest-common-prefix) | [PHP](././src/p00014) | | 15 | [3Sum](https://leetcode-cn.com/problems/3sum) | [三数之和](https://leetcode-cn.com/problems/3sum) | [PHP](././src/p00015) | | 16 | [3Sum Closest](https://leetcode-cn.com/problems/3sum-closest) | [最接近的三数之和](https://leetcode-cn.com/problems/3sum-closest) | [PHP](././src/p00016) | | 17 | [Letter Combinations of a Phone Number](https://leetcode-cn.com/problems/letter-combinations-of-a-phone-number) | [电话号码的字母组合](https://leetcode-cn.com/problems/letter-combinations-of-a-phone-number) | [PHP](././src/p00017) | | 19 | [Remove Nth Node From End of List](https://leetcode-cn.com/problems/remove-nth-node-from-end-of-list) | | [Go](././src/p00019) | | 20 | [Valid Parentheses](https://leetcode-cn.com/problems/valid-parentheses) | [有效的括号](https://leetcode-cn.com/problems/valid-parentheses) | [PHP](././src/p00020) | | 21 | [Merge Two Sorted Lists](https://leetcode-cn.com/problems/merge-two-sorted-lists) | [合并两个有序链表](https://leetcode-cn.com/problems/merge-two-sorted-lists) | [PHP](././src/p00021) | | 22 | [Generate Parentheses](https://leetcode-cn.com/problems/generate-parentheses) | [括号生成](https://leetcode-cn.com/problems/generate-parentheses) | [PHP](././src/p00022) | | 23 | [Merge k Sorted Lists](https://leetcode-cn.com/problems/merge-k-sorted-lists) | | [Go](././src/p00023) | | 27 | [Remove Element](https://leetcode-cn.com/problems/remove-element) | [移除元素](https://leetcode-cn.com/problems/remove-element) | [PHP](././src/p00027) | | 41 | [First Missing Positive](https://leetcode-cn.com/problems/first-missing-positive) | | [Go](././src/p00041) | | 42 | [Trapping Rain Water](https://leetcode-cn.com/problems/trapping-rain-water) | [接雨水](https://leetcode-cn.com/problems/trapping-rain-water) | [PHP](././src/p00042) | | 43 | [Multiply Strings](https://leetcode-cn.com/problems/multiply-strings) | | [Go](././src/p00043) | | 46 | [Permutations](https://leetcode-cn.com/problems/permutations) | | [Go](././src/p00046) | | 48 | [Rotate Image](https://leetcode-cn.com/problems/rotate-image) | [旋转图像](https://leetcode-cn.com/problems/rotate-image) | [Go](././src/p00048)/[PHP](././src/p00048) | | 70 | [Climbing Stairs](https://leetcode-cn.com/problems/climbing-stairs) | [爬楼梯](https://leetcode-cn.com/problems/climbing-stairs) | [PHP](././src/p00070) | | 84 | [Largest Rectangle in Histogram](https://leetcode-cn.com/problems/largest-rectangle-in-histogram) | | [Go](././src/p00084) | | 85 | [Maximal Rectangle](https://leetcode-cn.com/problems/maximal-rectangle) | | [Go](././src/p00085) | | 106 | [Construct Binary Tree from Inorder and Postorder Traversal](https://leetcode-cn.com/problems/construct-binary-tree-from-inorder-and-postorder-traversal) | | [Go](././src/p00106) | | 141 | [Linked List Cycle](https://leetcode-cn.com/problems/linked-list-cycle) | | [Go](././src/p00141) | | 142 | [Linked List Cycle II](https://leetcode-cn.com/problems/linked-list-cycle-ii) | | [Go](././src/p00142) | | 145 | [Binary Tree Postorder Traversal](https://leetcode-cn.com/problems/binary-tree-postorder-traversal) | | [Go](././src/p00145) | | 146 | [LRU Cache](https://leetcode-cn.com/problems/lru-cache) | [LRU 缓存机制](https://leetcode-cn.com/problems/lru-cache) | [PHP](././src/p00146) | | 198 | [House Robber](https://leetcode-cn.com/problems/house-robber) | | [Go](././src/p00198) | | 213 | [House Robber II](https://leetcode-cn.com/problems/house-robber-ii) | | [Go](././src/p00213) | | 216 | [Combination Sum III](https://leetcode-cn.com/problems/combination-sum-iii) | | [Go](././src/p00216) | | 218 | [The Skyline Problem](https://leetcode-cn.com/problems/the-skyline-problem) | [天际线问题](https://leetcode-cn.com/problems/the-skyline-problem) | [Go](././src/p00218) | | 226 | [Invert Binary Tree](https://leetcode-cn.com/problems/invert-binary-tree) | | [Go](././src/p00226) | | 235 | [Lowest Common Ancestor of a Binary Search Tree](https://leetcode-cn.com/problems/lowest-common-ancestor-of-a-binary-search-tree) | | [Go](././src/p00235) | | 297 | [Serialize and Deserialize Binary Tree](https://leetcode-cn.com/problems/serialize-and-deserialize-binary-tree) | | [Go](././src/p00297) | | 337 | [House Robber III](https://leetcode-cn.com/problems/house-robber-iii) | | [Go](././src/p00337) | | 560 | [Subarray Sum Equals K](https://leetcode-cn.com/problems/subarray-sum-equals-k) | [和为K的子数组](https://leetcode-cn.com/problems/subarray-sum-equals-k) | [PHP](././src/p00560) | | 572 | [Subtree of Another Tree](https://leetcode-cn.com/problems/subtree-of-another-tree) | [另一个树的子树](https://leetcode-cn.com/problems/subtree-of-another-tree) | [PHP](././src/p00572) | | 647 | [Palindromic Substrings](https://leetcode-cn.com/problems/palindromic-substrings) | | [Go](././src/p00647) | | 680 | [Valid Palindrome II](https://leetcode-cn.com/problems/valid-palindrome-ii) | [验证回文字符串 Ⅱ](https://leetcode-cn.com/problems/valid-palindrome-ii) | [PHP](././src/p00680) | | 739 | [Daily Temperatures](https://leetcode-cn.com/problems/daily-temperatures) | | [Go](././src/p00739) | | 746 | [Min Cost Climbing Stairs](https://leetcode-cn.com/problems/min-cost-climbing-stairs) | [前缀和后缀搜索](https://leetcode-cn.com/problems/min-cost-climbing-stairs) | [PHP](././src/p00746) | | 925 | [Long Pressed Name](https://leetcode-cn.com/problems/long-pressed-name) | | [Go](././src/p00925) | | 930 | [Binary Subarrays With Sum](https://leetcode-cn.com/problems/binary-subarrays-with-sum) | [所有可能的满二叉树](https://leetcode-cn.com/problems/binary-subarrays-with-sum) | [Go](././src/p00930) | | 990 | [Satisfiability of Equality Equations](https://leetcode-cn.com/problems/satisfiability-of-equality-equations) | [验证外星语词典](https://leetcode-cn.com/problems/satisfiability-of-equality-equations) | [Go](././src/p00990) | | 1092 | [Shortest Common Supersequence ](https://leetcode-cn.com/problems/shortest-common-supersequence) | | [Go](././src/p01092) | | 1431 | [Kids With the Greatest Number of Candies](https://leetcode-cn.com/problems/kids-with-the-greatest-number-of-candies) | | [Go](././src/p01431) |