学习笔记之LeetCode

All contents are moved to interview/学习笔记之LeetCode at main · haoran119/interview (github.com).


LeetCode - The World's Leading Online Programming Learning Platform

力扣(LeetCode)官网 - 全球极客挚爱的技术成长平台 (leetcode-cn.com)

Topics tagged under "amazon" | LeetCode Discuss


kamyu104/LeetCode-Solutions

soulmachine/leetcode: LeetCode题解,151道题完整版

  • https://github.com/soulmachine/leetcode

Leetcode:在线编程网站-各大IT公司的笔试面试题

Leetcode problems classified by company | Learn for Master

LeetCode最新题库 按公司分类(2017年11月12日)【一亩三分地论坛刷题版】 - Powered by Discuz!

900 多道 LeetCode 题解,这个 GitHub 项目值得 Star! (qq.com)

国内开发者在 GitHub 上开源 LeetCode 刷题模板(qq.com)

有了这套模板,再也不用担心我刷不动 LeetCode 了 (qq.com)


Algorithms


Array

# Title Solution Time Space Difficulty Note
0015 Leetcode 15. 3Sum Python     Medium   
0026 LeetCode 26. Remove Duplicates from Sorted Array  C++     Easy  
             
0073  Leetcode 73. Set Matrix Zeroes  Python     Medium  
0334  Leetcode 334. Increasing Triplet Subsequence  Python      Medium   
             

Strings 

# Title Solution Time Space Difficulty Note
0003

Leetcode 3. Longest Substring Without Repeating Characters 

Python 

 

 

Medium 

 

0005

LeetCode 5. Longest Palindromic Substring

C++ / Python 

 

 

Medium 

 

0007

LeetCode 7. Reverse Integer

C++ 

 

 

Easy 

 

0008

LeetCode 8. String to Integer (atoi)

C++ 

 

 

Easy 

 

0014

LeetCode 14. Longest Common Prefix

C++ 

 

 

Easy 

 

0028

LeetCode 28. Implement strStr()

C++ 

 

 

Easy 

 

0038

LeetCode 38. Count and Say

C++ 

 

 

Easy 

 

0049

LeetCode 49. Group Anagrams

C++

 

 

Medium

 

0125

LeetCode 125. Valid Palindrome

C++ 

 

 

Easy 

 

0242

LeetCode 242. Valid Anagram

C++ 

 

 

Easy 

 

0344

LeetCode 344. Reverse String 

C++ 

 

 

Easy 

 

0387 

LeetCode 387. First Unique Character in a String 

C++      Easy   
             

Linked List

# Title Solution Time Space Difficulty Note
0002 Leetcode 2. Add Two Numbers Python     Medium  
0160 Leetcode 160. Intersection of Two Linked Lists Python     Easy  
0328  Leetcode 328. Odd Even Linked List   Python      Medium   
             
             

Trees and Graphs

# Title Solution Time Space Difficulty Note
0094 Leetcode 94. Binary Tree Inorder Traversal Python     Medium  
0103 Leetcode 103. Binary Tree Zigzag Level Order Traversal Python      Medium   
0105 Leetcode 105. Construct Binary Tree from Preorder and Inorder Traversal   Python      Medium   
0116  Leetcode 116. Populating Next Right Pointers in Each Node   Python      Medium   

0200 Leetcode 200. Number of Islands Python      Medium   
0230 Leetcode 230. Kth Smallest Element in a BST Python      Medium   
             

Backtracking

# Title Solution Time Space Difficulty Note
0017 LeetCode 17. Letter Combinations of a Phone Number C++ / Python      Medium  
0022 Leetcode 22. Generate Parentheses   Python     Medium   
0046  Leetcode 46. Permutations   Python      Medium   
0078  Leetcode 78. Subsets   Python      Medium   

0079 Leetcode 79. Word Search Python      Medium   

Sorting and Searching

# Title Solution Time Space Difficulty Note
0033 Leetcode 33. Search in Rotated Sorted Array Python      Medium   
0034 Leetcode 34. Find First and Last Position of Element in Sorted Array Python      Medium   
0056 Leetcode 56. Merge Intervals Python      Medium   
0075 Leetcode 75. Sort Colors Python     Medium  
0162 Leetcode 162. Find Peak Element Python      Medium   
0215 LeetCode 215. Kth Largest Element in an Array Python      Medium   
0240 Leetcode 240. Search a 2D Matrix II Python      Medium   
0347 LeetCode 347. Top K Frequent Elements   Python      Medium   
             
             

Dynamic Programming

# Title Solution Time Space Difficulty Note
0055 LeetCode 55. Jump Game Python     Medium  
0062 Leetcode 62. Unique Paths  Python      Medium   
0322 Leetcode 322. Coin Change  Python      Medium   
0300 Leetcode 300. Longest Increasing Subsequence  Python      Medium   

Design

# Title Solution Time Space Difficulty Note
 0297 Leetcode 297. Serialize and Deserialize Binary Tree Python     Medium  
             
             
             

Math

# Title Solution Time Space Difficulty Note
 0026 LeetCode 26. Remove Duplicates from Sorted Array   C++      Easy  
             
             
             


Database

# Title Solution Time Space Difficulty Note

0175

LeetCode 175. Combine Two Tables

SQL 

 

 

 

 

0176

LeetCode 176. Second Highest Salary

SQL 

 

 

 

 

0177

LeetCode 177. Nth Highest Salary

SQL

       
posted on 2016-05-25 21:14  浩然119  阅读(884)  评论(0编辑  收藏  举报