Skip to content

tranhoangcore/LeetCode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LeetCode

LeetCode

ID Title C++ Python Rust Java
0001 Two Sum Here
0002 Add Two Numbers Here Here Here
0008 String to Integer (atoi) Here
0009 Palindrome Number Here
0011 Container With Most Water Here Here Here
0015 3Sum Here Here Here
0020 Valid Parentheses Here Here Here
0021 Merge Two Sorted Lists Here
0022 Generate Parentheses Here Here Here
0028 Implement strStr() Here Here
0035 Search Insert Position Here
0036 Valid Sudoku Here
0038 Count and Say Here Here Here
0046 Permutations Here Here Here
0053 Maximum Subarray Here
0055 Jump Game Here
0066 Plus One Here
0067 Add Binary Here
0069 Sqrt(x) Here
0070 Climbing Stairs Here
0078 Subsets Here Here Here
0079 Word Search Here
0083 Remove Duplicates from Sorted List Here
0094 Binary Tree Inorder Traversal Here
0098 Validate Binary Search Tree Here
0100 Same Tree Here Here
0101 Symmetric Tree Here
0102 Binary Tree Level Order Traversal Here
0104 Maximum Depth of Binary Tree Here
0108 Convert Sorted Array to Binary Search Tree Here
0110 Balanced Binary Tree Here
0111 Minimum Depth of Binary Tree Here
0112 Path Sum Here
0121 Best Time to Buy and Sell Stock Here
0122 Best Time to Buy and Sell Stock II Here
0125 Valid Palindrome Here
0131 Palindrome Partitioning Here Here Here
0136 Single Number Here
0141 Linked List Cycle Here
0144 Binary Tree Preorder Traversal Here Here
0145 Binary Tree Postorder Traversal Here
0151 Reverse Words in a String Here
0155 Min Stack Here
0160 Intersection of Two Linked Lists Here
0167 Two Sum II - Input array is sorted Here Here Here
0169 Majority Element Here
0172 Factorial Trailing Zeroes Here
0191 Number of 1 Bits Here
0198 House Robber Here
0200 Number of Islands Here
0202 Happy Number Here
0203 Remove Linked List Elements Here
0205 Isomorphic Strings Here
0217 Contains Duplicate Here
0219 Contains Duplicate II Here
0222 Count Complete Tree Nodes Here
0223 Rectangle Area Here
0226 Invert Binary Tree Here
0228 Summary Ranges Here
0230 Kth Smallest Element in a BST Here Here Here
0231 Power of Two Here
0232 Implement Queue using Stacks Here
0234 Palindrome Linked List Here
0235 Lowest Common Ancestor of a Binary Search Tree Here
0236 Lowest Common Ancestor of a Binary Tree Here Here Here
0242 Valid Anagram Here
0257 Binary Tree Paths Here
0263 Ugly Number Here Here
0268 Missing Number Here
0279 Perfect Squares Here
0289 Game of Life Here Here Here
0309 Best Time to Buy and Sell Stock with Cooldown Here
0328 Odd Even Linked List Here
0338 Counting Bits Here Here Here
0342 Power of Four Here
0347 Top K Frequent Elements Here Here Here
0349 Intersection of Two Arrays Here
0350 Intersection of Two Arrays II Here
0371 Sum of Two Integers Here Here Here
0374 Guess Number Higher or Lower Here Here
0380 Insert Delete GetRandom O(1) Here
0387 First Unique Character in a String Here
0412 Fizz Buzz Here Here Here
0448 Find All Numbers Disappeared in an Array Here Here Here
0452 Minimum Number of Arrows to Burst Balloons Here
0454 4Sum II Here Here Here
0476 Number Complement Here
0543 Diameter of Binary Tree Here Here Here
0561 Array Partition I Here Here Here
0576 Out of Boundary Paths Here
0587 Erect the Fence Here
0617 Merge Two Binary Trees Here Here Here
0700 Search in a Binary Search Tree Here
0705 Design HashSet Here
0706 Design HashMap Here
0733 Flood Fill Here
0739 Daily Temperatures Here
0771 Jewels and Stones Here Here Here
0792 Number of Matching Subsequences Here
0797 All Paths From Source to Target Here
0831 Keys and Rooms Here
0834 Sum of Distances in Tree Here
0844 Backspace String Comparee Here Here Here
0872 Leaf-Similar Trees Here
0876 Middle of the Linked List Here
0886 Possible Bipartition Here
0907 Sum of Subarray Minimums Here
0912 Sort an Array Here Here
0931 Minimum Falling Path Sum Here
0938 Range Sum of BST Here
0944 Delete Columns to Make Sorted Here
1026 Maximum Difference Between Node and Ancestor Here
1108 Defanging an IP Address Here Here Here
1143 Longest Common Subsequence Here
1207 Unique Number of Occurrences Here
1221 Split a String in Balanced Strings Here Here Here
1281 Subtract the Product and Sum of Digits of an Integer Here Here Here
1323 Maximum 69 Number Here Here Here
1365 How Many Numbers Are Smaller Than the Current Number Here Here Here
1431 Kids With the Greatest Number of Candies Here Here Here
1480 Running Sum of 1d Array Here Here Here
1512 Number of Good Pairs Here Here Here
1603 Design Parking System Here Here Here
1614 Maximum Nesting Depth of the Parentheses Here Here Here
1657 Determine if Two Strings Are Close Here
1672 Richest Customer Wealth Here Here Here
1704 Determine if String Halves Are Alike Here
1773 Count Items Matching a Rule Here Here Here
1800 Maximum Ascending Subarray Sum Here Here Here
1834 Single-Threaded CPU Here
1859 Sorting the Sentence Here Here Here
1913 Maximum Product Difference Between Two Pairs Here Here Here
1926 Nearest Exit from Entrance in Maze Here
1962 Remove Stones to Minimize the Total Here
2225 Find Players With Zero or One Losses Here
2244 Minimum Rounds to Complete All Tasks Here
2279 Maximum Bags With Full Capacity of Rocks Here
1833 Maximum Ice Cream Bars Here
1443 Minimum Time to Collect All Apples in a Tree Here
1519 Number of Nodes in the Sub-Tree With the Same Label Here
1137 N-th Tribonacci Number Here
1626 Best Team With No Conflicts Here
1071 Greatest Common Divisor of Strings Here
0953 Verifying an Alien Dictionary Here
0567 Permutation in String Here
1129 Shortest Path with Alternating Colors Here
1456 Maximum Number of Vowels in a Substring of Given Length Here
0977 Squares of a Sorted Array Here Here Here
1498 Number of Subsequences That Satisfy the Given Sum Condition Here
1572 Matrix Diagonal Sum Here
0059 Spiral Matrix II Here
1035 Uncrossed Lines Here
2140 Solving Questions With Brainpower Here
1721 Swapping Nodes in a Linked List Here
0225 Implement Stack using Queues Here
2483 Minimum Penalty for a Shop Here
2366 Minimum Replacements to Sort the Array Here
1287 Element Appearing More Than 25% In Sorted Array Here Here

About

LeetCode

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published