Contains all my Leetcode solutions with Problem statement, their Solutions, Time and Space complexity analaysis.
# | Title | Difficulty |
---|---|---|
136 | Single Number | Easy |
202 | Happy Number | Easy |
52 | Maximum Subarray | Easy |
283 | Move Zeroes | Easy |
122 | Best Time to Buy and Sell Stock II | Easy |
49 | Group Anagrams | Medium |
NA | Counting Elements | Easy |
876 | Middle of the Linked List | Easy |
844 | Backspace String Compare | Easy |
155 | Min Stack | Easy |
543 | Diameter of Binary Tree | Easy |
1046 | Last Stone Weight | Easy |
525 | Contiguous Array | Medium |
NA | Perform String Shifts | NA |
238 | Product of Array Except Self | Medium |
678 | Valid Parenthesis String | Medium |
200 | Number of Islands | Medium |
64 | Minimum Path Sum | Medium |
33 | Search in Rotated Sorted Array | Medium |
1008 | Construct Binary Search Tree from Preorder Traversal | Medium |
NA | Leftmost Column with at Least a One | NA |
560 | Subarray Sum Equals K | Medium |
201 | Bitwise AND of Numbers Range | Medium |
146 | LRU Cache | Medium |
55 | Jump Game | Medium |
1143 | Longest Common Subsequence | Medium |
221 | Maximal Square | Medium |
NA | First Unique Number | NA |
124 | Binary Tree Maximum Path Sum | Medium |
NA | Valid Sequence from Root to Leaves | NA |