Skip to content
XENOPHIRPublic

About

SOLUTION OF LEETCODE PROBLEMS IN PYTHON

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Latest commit

 

History

51 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

LEETCODE

Solutions to LeetCode problems, grouped by language.

LEETCODE
├── Python   44 problems
└── SQL      coming soon

Files are named NNNNN - Problem Title, where NNNNN is the problem number padded with zeros, so the files are always listed in problem order.

Python

44 problems, 26 Easy and 18 Medium. Problem 00518 is still in progress.

# Problem Difficulty Solution
00001 Two Sum Easy 00001 - Two Sum.py
00002 Add Two Numbers Medium 00002 - Add Two Numbers.py
00011 Container With Most Water Medium 00011 - Container With Most Water.py
00015 3Sum Medium 00015 - 3Sum.py
00016 3Sum Closest Medium 00016 - 3Sum Closest.py
00018 4Sum Medium 00018 - 4Sum.py
00020 Valid Parentheses Easy 00020 - Valid Parentheses.py
00021 Merge Two Sorted Lists Easy 00021 - Merge Two Sorted Lists.py
00026 Remove Duplicates from Sorted Array Easy 00026 - Remove Duplicates from Sorted Array.py
00027 Remove Element Easy 00027 - Remove Element.py
00070 Climbing Stairs Easy 00070 - Climbing Stairs.py
00077 Combinations Medium 00077 - Combinations.py
00078 Subsets Medium 00078 - Subsets.py
00092 Reverse Linked List II Medium 00092 - Reverse Linked List II.py
00097 Interleaving String Medium 00097 - Interleaving String.py
00101 Symmetric Tree Easy 00101 - Symmetric Tree.py
00104 Maximum Depth of Binary Tree Easy 00104 - Maximum Depth of Binary Tree.py
00112 Path Sum Easy 00112 - Path Sum.py
00113 Path Sum II Medium 00113 - Path Sum II.py
00119 Pascal’s Triangle II Easy 00119 - Pascals Triangle II.py
00167 Two Sum II Input Array Is Sorted Medium 00167 - Two Sum II Input Array Is Sorted.py
00199 Binary Tree Right Side View Medium 00199 - Binary Tree Right Side View.py
00206 Reverse Linked List Easy 00206 - Reverse Linked List.py
00207 Course Schedule Medium 00207 - Course Schedule.py
00234 Palindrome Linked List Easy 00234 - Palindrome Linked List.py
00235 Lowest Common Ancestor of a Binary Search Tree Medium 00235 - Lowest Common Ancestor of a Binary Search Tree.py
00268 Missing Number Easy 00268 - Missing Number.py
00278 First Bad Version Easy 00278 - First Bad Version.py
00322 Coin Change Medium 00322 - Coin Change.py
00404 Sum of Left Leaves Easy 00404 - Sum of Left Leaves.py
00463 Island Perimeter Easy 00463 - Island Perimeter.py
00509 Fibonacci Number Easy 00509 - Fibonacci Number.py
00518 Coin Change II Medium in progress
00617 Merge Two Binary Trees Easy 00617 - Merge Two Binary Trees.py
00680 Valid Palindrome II Easy 00680 - Valid Palindrome II.py
00682 Baseball Game Easy 00682 - Baseball Game.py
00819 Most Common Word Easy 00819 - Most Common Word.py
00876 Middle of the Linked List Easy 00876 - Middle of the Linked List.py
01046 Last Stone Weight Easy 01046 - Last Stone Weight.py
01143 Longest Common Subsequence Medium 01143 - Longest Common Subsequence.py
01160 Find Words That Can Be Formed by Characters Easy 01160 - Find Words That Can Be Formed by Characters.py
01512 Number of Good Pairs Easy 01512 - Number of Good Pairs.py
01929 Concatenation of Array Easy 01929 - Concatenation of Array.py
02415 Reverse Odd Levels of Binary Tree Medium 02415 - Reverse Odd Levels of Binary Tree.py

SQL

Solutions to LeetCode database problems will be added to the SQL folder.

About

SOLUTION OF LEETCODE PROBLEMS IN PYTHON

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages