This year's posts
- Tree
- Stack
- Queue
- Matrix
- List
- Graph
- Array
- String Longest Valid Parentheses
- Dp Longest Valid Parentheses
- Zigzag Tree Traversal
- Maximum Size Sub Matrix With All 1s In A Binary Matrix
- Maximum Size Rectangle Binary Sub Matrix 1s
- Largest Rectangular Area In A Histogram
- Implement Reverse DNS Look Up Cache
- Implement Forward DNS Look Up Cache
- Given an array arr[], find the maximum j – i such that arr[j] > arr[i]
- Design a data structure for LRU Cache
- Latent Dirichlet allocation
- Huffman Coding Greedy Algo
- Root to leaf path sum equal to a given number
- Root to leaf path sum equal to a given number
- Print the first shortest root to leaf path in a Binary Tree
- Print all the paths from root, with a specified sum in Binary tree
- Fractional Knapsack Problem
- 0-1 Knapsack Problem
- Longest Increasing Subsequence
- Longest Common Subsequence
- Edit Distance
- Check if strings are rotations of each other or not
- Trie | (Insert and Search)
- Sorting array of strings (or words) using Trie
- Reverse Level Order Traversal
- Lowest Common Ancestor in a Binary Tree (Using Parent Pointer)
- Lowest Common Ancestor in a Binary Search Tree.
- Lowest Common Ancestor in a Binary Tree
- Level Order Tree Traversal
- Iterative Preorder Traversal
- Iterative Method to find Height of Binary Tree
- Iterative function to check if two trees are identical
- Inorder Tree Traversal without Recursion
- Determine if Two Trees are Identical
- Count Full Nodes Binary Tree Iterative Recursive
- Calculate Size of a tree | Recursion
- Find a pair with maximum product in array of Integers
- Find the Minimum length Unsorted Subarray, sorting which makes the complete array sorted
- Merge Overlapping Intervals
- Maximum difference between two elements such that larger element appears after the smaller number
- K’th Smallest/Largest Element in Unsorted Array (Expected Linear Time)
- Given a sorted array and a number x, find the pair in array whose sum is closest to x
- Given an array A[] and a number x, check for pair in A[] with sum as x
- Floor in a sorted array
- Find the odd appearing element in O(Log n) time
- Find a pair with the given difference
- Check if array elements are consecutive
- Ceiling in a sorted array
- 战国策
- Union and Intersection of two sorted arrays
- 宋高僧传-唐朗州药山惟俨
- Find the minimum distance between two numbers
- Replace every element with the greatest element on right side
- Leaders-in-an-array
- Find the Number Occurring Odd Number of Times
- Find the minimum distance between two numbers
- Pythagorean Triplet in an array
- Find a peak element
- Find-a-fixed-point-in-a-given-array
- Count-strictly-increasing-subarrays