Some problems were challenging so I googled not only theory but also solution approaches to solve them.
№ | Title | Solution | Difficulty |
---|---|---|---|
136. | Single Number | Python | Easy |
202. | Happy Number | Python | Easy |
53. | Maximum Subarray | Python | Easy |
283. | Move Zeroes | Python | Easy |
122. | Best Time to Buy and Sell Stock II | Python | Easy |
49. | Group Anagrams | Python | Medium |
1426. | Counting Elements | Python | Easy |
№ | Title | Solution | Difficulty |
---|---|---|---|
876. | Middle of the Linked List | Python | Easy |
844. | Backspace String Compare | Python | Easy |
155. | Min Stack | Python | Easy |
543. | Diameter of Binary Tree | Python | Easy |
1046. | Last Stone Weight | Python | Easy |
525. | Contiguous Array | Python | Medium |
1427. | Perform String Shifts | Python | Easy |
№ | Title | Solution | Difficulty |
---|---|---|---|
238. | Product of Array Except Self | Python | Medium |
678. | Valid Parenthesis String | Python | Medium |
200. | Number of Islands | Python | Medium |
64. | Minimum Path Sum | Python | Medium |
33. | Search in Rotated Sorted Array | Python | Medium |
1008. | Construct Binary Search Tree from Preorder Traversal | Medium | |
1428. | Leftmost Column with at Least a One | Python | Medium |
№ | Title | Solution | Difficulty |
---|---|---|---|
560. | Subarray Sum Equals K | Python | Medium |
201. | Bitwise AND of Numbers Range | Python | Medium |
146. | LRU Cache | Python | Medium |
55. | Jump Game | Python | Medium |
1143. | Longest Common Subsequence | Python | Medium |
221. | Maximal Square | Python | Medium |
1429. | First Unique Number | Python | Medium |
№ | Title | Solution | Difficulty |
---|---|---|---|
124. | Binary Tree Maximum Path Sum | Python | Hard |
1430. | Check If a String Is a Valid Sequence from Root to Leaves Path in a Binary Tree | Python | Medium |