Skip to content

ashishkssingh/Leetcode-Python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LeetCode

LeetCode Algorithm

LeetCode problem solutions using Python

# Title Solution Difficulty
1 Two Sum Python
2 Add Two Numbers Python ⚡ ⚡
3 Longest Substring Without Repeating Characters Python ⚡ ⚡
4 Median of Two Sorted Arrays Python ⚡ ⚡ ⚡
5 Longest Palindromic Substring Python ⚡ ⚡
6 ZigZag Conversion Python ⚡ ⚡
7 Reverse Integer Python
8 String to Integer (atoi) Python ⚡ ⚡
9 Palindrome Number Python
13 Roman to Integer Python
14 Longest Common Prefix Python
20 Valid Parentheses Python
21 Merge Two Sorted Lists Python
26 Remove Duplicates from Sorted Array Python
27 Remove Element Python
28 Implement strStr() Python
35 Search Insert position Python
53 Maximum Subarray Python
58 Length of Last Word Python
66 Plus One Python
67 Add Binary Python
69 Sqrt(x) Python
70 Climbing Stairs Python
83 Remove Duplicates from Sorted List Python
88 Merge Sorted Array Python
94 Binary Tree Inorder Traversal Python
100 Same Tree Python
101 Symmetric Tree Python
104 Maximum Depth of Binary Tree Python
108 Convert Sorted Array to Binary Search Tree Python
110 Balanced Binary Tree Python
111 Minimum Depth of Binary Tree Python
112 Path Sum Python
118 Pascal's Triangle Python
119 Pascal's Triangle II Python
121 Best Time to Buy and Sell Stock Python
122 Best Time to Buy and Sell Stock II Python
125 Valid Palindrome Python
136 Single Number Python
141 Linked List Cycle Python
144 Binary Tree Preorder Traversal Python
145 Binary Tree Postorder Traversal Python
155 Min Stack Python
160 Intersection of Two Linked Lists Python
167 Two Sum II - Input array is sorted Python
168 Excel Sheet Column Title Python
171 Excel Sheet Column Number Python
172 Factorial Trailing Zeroes Python
190 Reverse Bits Python
191 Number of 1 Bits Python
202 Happy Number Python
203 Remove Linked List Elements Python
204 Count Primes Python
205 Isomorphic Strings Python
206 Reverse Linked List Python
217 Contains Duplicate Python
219 Contains Duplicate II Python
225 Implement Stack using Queues Python
226 Invert Binary Tree Python
228 Summary Ranges Python
231 Power of Two Python
232 Implement Queue using Stacks Python
234 Palindrome Linked List Python
235 Lowest Common Ancestor of a Binary Search Tree Python
257 Binary Tree Paths Python
258 Add Digits Python
263 Ugly Number Python
268 Missing Number Python
278 First Bad Version Python
283 Move Zeroes Python
290 Word Pattern Python
292 Nim Game Python
303 Range Sum Query - Immutable Python
326 Power of Three Python
338 Counting Bits Python
342 Power of Four Python
344 Reverse String Python
345 Reverse Vowels of a String Python
349 Intersection of Two Arrays Python
350 Intersection of Two Arrays II Python
367 Valid Perfect Square Python
374 Guess Number Higher or Lower Python
383 Ransom Note Python
387 First Unique Character in a String Python
389 Find the Difference Python
392 Is Subsequence Python
401 Binary Watch Python
404 Sum of Left Leaves Python
405 Convert a Number to Hexadecimal Python
409 Longest Palindrome Python
412 Fizz Buzz Python
414 Third Maximum Number Python
415 Add Strings Python
434 Number of Segments in a String Python
441 Arranging Coins Python
448 Find All Numbers Disappeared in an Array Python
453 Minimum Moves to Equal Array Elements Python
455 Assign Cookies Python
459 Repeated Substring Pattern Python
461 Hamming Distance Python
463 Island Perimeter Python
476 Number Complement Python
482 License Key Formatting Python
485 Max Consecutive Ones Python
492 Construct the Rectangle Python
495 Teemo Attacking Python
496 Next Greater Element I Python
500 Keyboard Row Python
501 Find Mode in Binary Search Tree Python
504 Base 7 Python
506 Relative Ranks Python
507 Perfect Number Python
509 Fibonacci Number Python
771 Jewels and Stones Python
1108 Defanging an IP Address Python
1290 Convert Binary Number in a Linked List to Integer Python
1678 Goal Parser Interpretation Python
1689 Partitioning Into Minimum Number Of Deci-Binary Numbers Python ⚡ ⚡
2011 Final Value of Variable After Performing Operations Python
2114 Maximum Number of Words Found in Sentences Python
2125 Number of Laser Beams in a Bank Python ⚡ ⚡
2391 Minimum Amount of Time to Collect Garbage Python ⚡ ⚡
2942 Find Words Containing Character Python

About

LeetCode problem solutions using Python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages