Skip to content

HrBlack/leetcode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Leetcode Solutions

Continue updating...

lt: leetcode
jz: 剑指Offer

Sort & Search

# Name Difficulty Solution index
1 直接插入 easy python
2 简单选择排序 easy python
3 冒泡排序 easy python
4 希尔 easy python
5 快排(递归) easy python ♥♥
6 快排(栈) medium python ♥♥
7 堆排序 medium python ♥♥
8 TOP-K medium python
9 二分查找 easy python ♥♥

Algorithms

# Name Difficulty Solution Category
lt.1 Two Sum easy python array
lt.2 Add Two Numbers easy python linked list
lt.4 Median of Two Sorted Arrays hard [python]
lt.5 Longest Palindromic Substring easy [python]
lt.6 ZigZag Conversion easy [python]
lt.7 Reverse Integer easy [python]
lt.8 String to Integer (atoi) medium [python]
lt.50 Pow(x,n) medium python recursion
lt.56 Merge Intervals medium python array
lt.78 Subsets medium python backtracking,dfs
lt.127 Word Ladder medium python bfs
lt.221 Maximal Square medium [python] dp
lt.279 Perfect Squares medium python dp, bfs
蓄水池 Reservoir Sampling medium python math

About

Solutions of leetcode problems in Python

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages