1. Check For BST
  2. Naive O(N^2) O(H) Assigning Ranges O(N) O(H) Storing Inorder Traversal O(N) O(N) Without Storing Inorder Traversal O(N) O(H)
  3. Reverse a linked list
  4. Naive O(N) O(N) Changing the arrows O(N) O(1) Recursive with Global O(N) O(N) Recurssive without Global O(N) O(N)
  5. Finding middle element in a linked list
  6. Naive Two Traversal O(N) O(1) Fast Slow Pointers Iterative O(N) O(1) Fast Slow Pointers Recurssive O(N) O(N)
  7. Longest Palindrome in a String
  8. Bottom-Up DP O(N^2) O(N^2)
  9. Check if Linked List is Palindrome
  10. Get minimum element from stack
  11. Intersection Point in Y Shapped Linked Lists
  12. Delete without head pointer
  13. Determine if Two Trees are Identical
  14. BFS of graph
  15. Diameter of Binary Tree
  16. Detect cycle in a directed graph
  17. Mirror Tree
  18. Add two numbers represented by linked lists
  19. Level order traversal in spiral form
  20. Reverse a Linked List in groups of given size
  21. Search in a Rotated Array
  22. Boundary Traversal of binary tree
  23. Level order traversal
  24. Longest Common Substring
  25. Lowest Common Ancestor in a BST
  26. Merge two sorted linked lists
  27. Root to leaf path sum
  28. Implement Atoi
  29. Count distinct elements in every window
  30. Maximum Path Sum between 2 Leaf Nodes
  31. Connect Nodes at Same Level
  32. First non-repeating character in a stream
  33. Pairwise swap elements of a linked list
  34. Longest Distinct characters in string
  35. Queue using two Stacks
  36. The Celebrity Problem
  37. Multiply two strings
  38. Circular tour
  39. Binary Tree to DLL
  40. Level order traversal Line by Line
  41. Lowest Common Ancestor in a Binary Tree
  42. Relative Sorting
  43. Find the number of islands
  44. Flattening a Linked List
  45. Insert a node in a BST
  46. Implement strstr
  47. Merge Sort
  48. Square root
  49. Validate an IP Address
  50. Topological sort
  51. Given a linked list of 0s, 1s and 2s, sort i
  52. Implement Stack using Linked List
  53. Minimum element in a sorted and rotated arra
  54. Check if subtree
  55. Word Boggle
  56. Implement two stacks in an array
  57. Reverse Level Order Traversal
  58. K distance from root
  59. Minimum element in BST
  60. Interleaved Strings
  61. Intersection of two sorted Linked lists
  62. Sorted insert for circular linked list
  63. Check If Circular Linked List
  64. Kadane's Algorithm
  65. Sort an array of 0s, 1s and 2s
  66. Ease the Array
  67. Intersection of Two Linked Lists
  68. Delete Middle of Linked List
  69. Stock buy and sell
  70. Delete N nodes after M nodes of a linked lis
  71. Factorials of large numbers
  72. Column name from a given column number
  73. Overlapping rectangles
  74. Serialize and Deserialize a Binary Tree
  75. Print BST elements in given range
  76. Find the fine
  77. Construct Tree from Inorder & Preorder
  78. Reverse words in a given string
  79. Transform to Sum Tree
  80. Reorder List
  81. Check if Tree is Isomorphic
  82. Merge k Sorted Arrays
  83. Majority Element
  84. Run Length Encoding
  85. Print Pattern
  86. Clone a linked list with next and random poi
  87. Nearest multiple of 10
  88. Max rectangle
  89. Knight Walk
  90. Maximum in Struct Array
  91. Count Number of SubTrees having given Sum
  92. Merge Without Extra Space
  93. Fixing Two nodes of a BST
  94. Construct Binary Tree from Parent Array
  95. Merge Without Extra Space
  96. Merge Sort for Linked List
  97. Box Stacking
  98. Inversion of array
  99. Merge two BST 's
  100. A Simple Fraction
  101. Missing number in array
  102. Alien Dictionary
  103. Unit Area of largest region of 1's
  104. Union of Two Linked Lists
  105. Merge 2 sorted linked list in reverse order
  106. Buildings receiving sunlight
  107. Boolean Parenthesization
  108. Spirally traversing a matrix
  109. Maximum Product Subarray
  110. Phone directory
  111. Convert to Roman No
  112. 0 - 1 Knapsack Problem
  113. Sum of Leaf Nodes at Min Level
  114. Reverse each word in a given string
  115. longest substring containing '1'
  116. Node at distance
  117. Common elements
  118. Longest Even Length Substring
  119. Kth smallest element
  120. Stock buy and sell
  121. URLify a given string
  122. Match specific pattern
  123. Non Repeating Character
  124. Decode the pattern
  125. Subsets
  126. Unit Area of largest region of 1's
  127. Delete nodes greater than k
  128. Length of longest palindrome in linked list
  129. Coin Change
  130. Lucky Numbers
  131. Longest Palindrome Substring
  132. String Ignorance
  133. Rotate by 90 degree
  134. Difficulty of sentence
  135. Find the string in grid
  136. k largest elements
  137. Remove common characters and concatenate
  138. Rotate by 90 degree
  139. Arranging the array
  140. Solve the Sudoku
  141. K largest elements
  142. Maximize The Array
  143. Find All Four Sum Numbers
  144. Travelling Salesman Problem
  145. Key Pair
  146. Word Boggle
  147. Longest Palindromic Substring in Linear Time
  148. Replace the Bit
  149. Word Wrap
  150. Zero Sum Subarrays
  151. Brackets in Matrix Chain Multiplication
  152. Generate Grey Code Sequences
  153. Largest Number formed from an Array
  154. Find median in a stream
  155. Rotten Oranges
  156. Remove Duplicates
  157. Closest Number
  158. Finding Number
  159. Subsets
  160. Relative Sorting
  161. Optimal Strategy For A Game
  162. RegEx matching
  163. Combination Sum
  164. Consecutive 1's not allowed
  165. Finding the numbers
  166. Roman Number to Integer
  167. Word Break
  168. Number of paths
  169. Shortest Common Supersequence
  170. Perfect Sum Problem
  171. Is Binary Number Multiple of 3
  172. Arithmetic Progression
  173. Two numbers with sum closest to zero
  174. Find position of set bit
  175. Longest Bitonic subsequence
  176. Count Occurences of Anagrams
  177. Sum of two large numbers
  178. Add Binary Strings
  179. Remove all duplicates from a given string
  180. Mobile numeric keypad
  181. Palindrome numbers
  182. Tic Tac Toe
  183. Design a tiny URL or URL shortener
  184. Integer to Words
  185. Next Smallest Palindrome
  186. Minimum Points To Reach Destination
  187. Binary representation
  188. Strictly Increasing Array
  189. Sort in specific order
  190. Day of the week
  191. Maximum no of 1's row
  192. Minimize string value
  193. Nth item through sum
  194. Next greater number set digits
  195. Carry counter
  196. Transform the array
  197. String comparison