Skip to content

WenjingXue/leetcodeInPython

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 

Repository files navigation

leetcode In Python

Author: github.com/wenjingxue

General Data Structure
Leet code solutions

General Data Structure

Those can speed up the problem solving.

# Name Use Wiki Link
1 Trie String/Dictionary https://en.wikipedia.org/wiki/Trie

LeetCode Solution in Python

I summaries the key for unlocking each problem. Please give a ⭐ if it inspired you.

# Title Difficulty Solution
1 Two Sum Easy Use dictionary
85 Maximal Rectangle Hard 2D to 1D and use Stack
198 House Robber Medium Dynamic Programming
328 Odd Even Linked List Medium Use two pointers to track progress
1217 Minimum Cost to Move Chips to The Same Position Easy Math
1446 Consecutive Characters Easy Comparison within string
2098 Subsequence of Size K With the Largest Even Sum Medium minHeap
2096 Step-By-Step Directions From a Binary Tree Node to Another Medium Depth first search

About

Python Solution for leetcode OJ.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages