Longest Substring with At Least K Repeating CharactersĤ26. Longest Substring with At Most K Distinct Charactersģ95. Longest Substring with At Most Two Distinct Charactersģ40. Substring with Concatenation of All Wordsġ59. Longest Substring Without Repeating Charactersģ0.
Binary Tree Zipzag Level Order TraversalĨ62. Verify Preorder Sequence in Binary Search Treeġ03. Lowest Common Ancestor of a Binary Search TreeĢ55. Lowest Common Ancestor of a Binary TreeĢ35. Serialize and Deserialize Binary TreeĢ36. Most Stones Removed with Same Row or ColumnĢ97. Number of Connected Components in an Undirected Graphĩ47. Construct Binary Tree from Inorder and Postorder Traversalģ14. Construct Binary Tree from Preorder and Inorder Traversalġ06. Convert Sorted List to Binary Search TreeĬonvert Binary Search Tree (BST) to Sorted Doubly-Linked ListĬonstruct Binary Tree from Inorder and Postorder Traversalġ05. Add and Search Word - Data structure designġ09. Find All Numbers Disappeared in an ArrayĢ11. Rotate Image(Amazon, MicroSoft, Apple)Ĥ48. Kth Smallest Element in a Sorted MatrixĤ8. Find First and Last Position of Element in Sorted ArrayĬount number of occurrences (or frequency) in a sorted arrayģ78.
Find Minimum in Rotated Sorted Array IIģ4. Insert Delete GetRandom O(1) - Duplicates allowedġ53.