Skip to content

ZhemingX/leetcode-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 

Repository files navigation

leetcode-python

LeetCode solutions in Python.
As being a C++ leetcoder for a long time, choose python for leetcode practice lol <3

Problem source:
剑指 Offer(第 2 版)

Problem tag:
- Stack
- Array
- DFS/BFS
- Tree
- Binary Search
- List/Dict
- String
- DP
- Bit Operation


Solutions:

< Stack

NO. Title Solution Difficulty
001 用两个栈实现队列 Solution Easy

< Array

NO. Title Solution Difficulty
001 数组中重复的数字 Solution Easy
002 二维数组中的查找 Solution Medium

< DFS/BFS

NO. Title Solution Difficulty
001 矩阵中的路径 Solution Medium
002 机器人的运动范围 Solution Medium
003 Get Set Go Solution Medium
004 字符串的排列 Solution Medium

< Tree

NO. Title Solution Difficulty
001 重建二叉树 Solution Medium

< Binary Search

NO. Title Solution Difficulty
001 山脉数组中查找目标值 Solution Hard

< List/Dict

NO. Title Solution Difficulty
001 点菜展示表 Solution Medium

< String

NO. Title Solution Difficulty
001 表示数值的字符串 Solution Medium

< DP

NO. Title Solution Difficulty
001 把数字翻译成字符串 Solution Medium

< Bit Operation

NO. Title Solution Difficulty
001 数组中数字出现的次数 Solution Medium

About

Daily leetcode practice using Python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages