data structure

- Swap 2 Number Without Using Temp Variable
- Stack
- swap 3 Number Without Temp
- Reverse a String
- merge Two Sorted Arrays
- Find Largest and Smallest in array
- Find the element that appears twice in an array where every other element appears once
- Intersection of 2 arrays
- Palindrome
- Reverse a String with Space
- Check Strings are Anagram
- Duplicate in String
- Remove Duplicate from Sorted Array
- Bubble Sort
- 100 doors Toggle Puzzle
- Autocomplete Word With Prefix - Tries
- Binary Search
- Binary Tree
- Boyer Moore Majority Vote Algorithm
- Check Automorphic Number
- Check Toeplitz Matrix
- Check if Number is Prime
- Check if Number is Twisted Prime
- Connect Multiple Ropes With Minimum Cost
- Count Distinct Pairs having Difference Equal to K
- Count Number of Sub Arrays With Odd Sum
- Count Number of Ways to Reach End of Stare
- Count Sub Strings in Binary Array With equal Consecutive 0 and 1
- Design Browser History
- Factorial Program Using DP
- Find Element Before Which All Elements Are Smaller Than It, And After Which All Are Greater
- Find First Positive Missing Number in Unsorted Array
- Find Greatest Common Divisor
- Find Greatest Number by Rearranging Same Digits
- Find Kth Most Occurring Element in an Array
- Find Largest Element in Unsorted Array
- Find Longest Bitonic Subarray
- Find Longest Palindrome in a String
- Find Maximum Contiguous Sum Sub Array Kadane algorithm
- Find Maximum Possible Loot from not Adjacent Houses
- Find Minimum Platforms Required for Railway or Bus Station
- Find N th Largest Element in Array
- Find Next Greater Number by Rearranging Same Digits
- Find Next Smallest Number by Rearranging Same Digits
- Find Pair of Elements in Unsorted Array Whose Sum is Equal to Required Number
- Find Pairs of Nuts and Bolts in Minimum Number of Iteration
- Find Random Elements From Array Without Repetition
- Find Row having Maximum 1 in 2 Dimensional Matrix
- Find Second Largest Element in Unsorted Array
- Find Smallest Number by Rearranging Same Digits
- Find Sub Array With Zero Sum
- Find Sum of Integer Until Becomes Single Digit
- Find The Longest Sub-Array With Switching Elements
- Find Triplets of Elements in Array Whose Sum is Equal to Required Number
- Find Ways to Make Total Amount With Coins Change
- Find all the prime numbers
- Find k Closest Elements of a Value in Sorted Array
- Interleave Array or Alternatively Selected Element Array
- LRU and MRU Cache Implementation
- Merge 2 Sorted Linked List in Reverse Order
- Merge All Overlapping Intervals
- Print Diagonals of 2 Dimensional Array
- Print Spiral Matrix
- Rearrange Positive and Negative Numbers in Array Without Extra Space
- Remove Even Element from 2 Dimensional Array
- Search Element In Row And Column Wise Sorted Matrix
- Sequencing Job with Deadlines
- Smallest Difference Pair of Values Between Two Sorted Arrays
- Sort String According to Order Defined by Pattern String
- Sort the Array With Multiple Duplicated Values
- Sort the Array having 0s, 1s, 2s and 3s only
- Sparse Matrix Representation in LinkedList
- Split Integer Array Into Two Equal Sum Sub Arrays
- Find Recursive Sum of Integer
- Find Reverse of Integer
- Find the Length of Longest Consecutive Integer Sequence from Unsorted Array
- Find the Rotation Count in Array
- Check String is Isomorphic
- Run Length Encoding Data Compression Algorithm
- Count Occurrences of a Character Without Using Loop
- Sort Map Based on Value
- Create Notes Using Magazine Words
- Find Pair of Elements in Sorted Array Whose Sum is Equal to Required Number
- Find all Factors of Integer
- Height of histogram
- Longest Substring Without Repeating Character
- Minimum Swap Required to Sort an Array Starts with 1, Jumbled, No Duplicate, Nothing Missing
- Array left rotation
- Binary Tree
- Bit Manipulation
- Buy and Sell Stock Only Multiple Times to Maximize Profit
- Buy and Sell Stock Only Once to Maximize Profit
- Common element in 2 sorted arrays
- Common element in 3 sorted arrays
- Fibonacci program using DP
- Linked List
- Move all 0's to the end of an array
- Number of character Deletion Required to Make 2 String Anagrams
- Print a String 1000 Times Without Using Loop
- Remove Duplicate from Sorted Integer Array Without Using Set
- Remove Pair of Consecutive Duplicate Characters
- Sort Array Containing 3 Digits Only Dutch flag Algorithm
- Sort Binary Array
- String Permutation
- Toggle All Character of String
- Trapping Rain Water