Skip to content

Aayers-ghw/leetcode

Repository files navigation

leetcode

ID
1 Two Sum
2 Add Two Numbers
3 Longest Substring Without Repeating Characters
7 Reverse Integer
9 Palindrome Number
11 Container With Most Water
13 Roman to Integer
14 Longest Common Prefix
15 3Sum
19 Remove Nth Node From End of List
20 Valid Parentheses
21 Merge Two Sorted Lists
22 Generate Parentheses
24 Swap Nodes in Pairs
26 Remove Duplicates from Sorted Array
27 Remove Element
28 Implement strStr()
33 Search in Rotated Sorted Array
34 Find First and Last Position of Element in Sorted Array
35 Search Insert Position
38 Count and Say
46 Permutations
49 Group Anagrams
53 Maximum Subarray
58 Length of Last Word
62 Unique Paths
63 Unique Paths II
64 Minimum Path Sum
66 Plus One
67 Add Binary
69 Sqrt(x)
70 Climbing Stairs
74 Search a 2D Matrix
75 Sort Colors
78 Subsets
81 Search in Rotated Sorted Array II
83 Remove Duplicates from Sorted List
88 Merge Sorted Array
92 Reverse Linked List II
94 Binary Tree Inorder Traversal
96 Unique Binary Search Trees
100 Same Tree
101 Symmetric Tree
102 Binary Tree Level Order Traversal
103 Binary Tree Zigzag Level Order Traversal
104 Maximum Depth of Binary Tree
105 Construct Binary Tree from Preorder and Inorder Traversal
106 Construct Binary Tree from Inorder and Postorder Traversal
107 Binary Tree Level Order Traversal II
112 Path Sum
113 Path Sum II
118 Pascal's Triangle
119 Pascal's Triangle II
121 Best Time to Buy and Sell Stock
122 Best Time to Buy and Sell Stock II
129 Sum Root to Leaf Numbers
136 Single Number
141 Linked List Cycle
144 Binary Tree Preorder Traversal
145 Binary Tree Postorder Traversal
153 Find Minimum in Rotated Sorted Array
155 Min Stack
160 Intersection of Two Linked Lists
162 Find Peak Element
167 Two Sum II - Input array is sorted
169 Majority Element
171 Excel Sheet Column Number
189 Rotate Array
191 Number of 1 Bits
198 House Robber
202 Happy Number
203 Remove Linked List Elements
204 Count Primes
205 Isomorphic Strings
206 Reverse Linked List
208 Implement Trie (Prefix Tree)
215 Kth Largest Element in an Array
217 Contains Duplicate
219 Contains Duplicate II
222 Count Complete Tree Nodes
224 Basic Calculator
225 Implement Stack using Queues
226 Invert Binary Tree
231 Power of Two
232 Implement Queue using Stacks
234 Palindrome Linked List
237 Delete Node in a Linked List
240 Search a 2D Matrix II
242 Valid Anagram
257 Binary Tree Paths
260 Single Number III
263 Ugly Number
264 Ugly Number II
268 Missing Number
278 Find the Duplicate Number
283 Move Zeroes
290 Word Pattern
292 Nim Game
295 Find Median from Data Stream
297 Serialize and Deserialize Binary Tree
303 Range Sum Query - Immutable
319 Bulb Switcher
328 Odd Even Linked List
342 Power of Four
344 Reverse String
349 Intersection of Two Arrays
350 Intersection of Two Arrays II
374 Guess Number Higher or Lower
383 Ransom Note
387 First Unique Character in a String
389 Find the Difference
404 Sum of Left Leaves
409 Longest Palindrome
414 Third Maximum Number
429 N-ary Tree Level Order Traversal
434 Number of Segments in a String
438 Find All Anagrams in a String
441 Arranging Coins
445 Add Two Numbers II
447 Number of Boomerangs
448 Find All Numbers Disappeared in an Array
450 Delete Node in a BST
455 Assign Cookies
463 Island Perimeter
485 Max Consecutive Ones
496 Next Greater Element I
500 Keyboard Row
503 Next Greater Element II
509 Fibonacci Number
515 Find Largest Value in Each Tree Row
520 Detect Capital
532 K-diff Pairs in an Array
543 Diameter of Binary Tree
551 Student Attendance Record I
559 Maximum Depth of N-ary Tree
561 Array Partition I
563 Binary Tree Tilt
566 Reshape the Matrix
572 Subtree of Another Tree
575 Distribute Candies
581 Shortest Unsorted Continuous Subarray
589 N-ary Tree Preorder Traversal
590 N-ary Tree Postorder Traversal
594 Longest Harmonious Subsequence
599 Minimum Index Sum of Two Lists
605 Can Place Flowers
628 Maximum Product of Three Numbers
637 Average of Levels in Binary Tree
643 Maximum Average Subarray I
645 Set Mismatch
648 Replace Words
654 Maximum Binary Tree
657 Robot Return to Origin
661 Image Smoother
665 Non-decreasing Array
674 Longest Continuous Increasing Subsequence
682 Baseball Game
693 Binary Number with Alternating Bits
695 Max Area of Island
697 Degree of an Array
700 Search in a Binary Search Tree
703 Kth Largest Element in a Stream
704 Binary Search
707 Design Linked List
709 To Lower Case
717 1-bit and 2-bit Characters
724 Find Pivot Index
744 Find Smallest Letter Greater Than Target
746 Min Cost Climbing Stairs
747 Largest Number At Least Twice of Others
766 Toeplitz Matrix
784 Letter Case Permutation
817 Linked List Components
830 Positions of Large Groups
840 Magic Squares In Grid
841 Keys and Rooms
844 Backspace String Compare
849 Maximize Distance to Closest Person
860 Lemonade Change
867 Transpose Matrix
872 Leaf-Similar Trees
876 Middle of the Linked List
888 Fair Candy Swap
896 Monotonic Array
905 Sort Array By Parity
917 Reverse Only Letters
922 Sort Array By Parity II
933 Number of Recent Calls
961 N-Repeated Element in Size 2N Array
965 Univalued Binary Tree
973 K Closest Points to Origin
976 Largest Perimeter Triangle
977 Squares of a Sorted Array

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages