Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
BFS
 
 
 
 
DFS
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Python_Leetcode

After a fast reading of this fatastic Python data structure book (highly recommended for programming "beginners" like me):

Problem Solving with Algorithms and Data Structures using Python

I first get started with linked list suggested by my friend. It was not that difficult. There are some summary or tricks about linked list:

Linked list summary

Then followed by binary search and two pointers.

And some summary about bit manipulation can be looked up:

Bit manipulation summary

Then maybe math problems. If it is related with number theory, I guess you can skip or look at the solutions instead.

Stack or hash table for some questions are not hard. However, combining with backtrack, tree, dfs, bfs or dp together, the solutions become more complicated.

String and array questions are sort of solved in various methods. You can test yourself after you undestand all the algorithms.

DP can be really hard. Need more training!!!

Linked List

Binary Search

Two Pointers

Bit Manipulation

Math

Stack

Hash Table

Backtrack

Tree

DFS

BFS

String

Array

Dynamic Programming

About

Python code for Leetcode

Topics

Resources

Releases

No releases published

Packages

No packages published
You can’t perform that action at this time.