- Two Pointer Algorithm
- Kadane's Algorithm
- Russian Peasant Algorithm
- Z-Algorithm
- The Boyer–Moore majority vote algorithm
- MinMax Algorithm
- Sieve of Eratosthenes
- Strassen's Algorithm
- Big Mod Algorithm
add list here
- Count total words in String
- Crossword Puzzle
- Intersection of Two Arrays
- Prime Number in a range
- Identical Words
- Meetings
- Next Greater Element
- Maximum Function
- Jump Game
- Remove Duplicate word from String
- Reverse words in String
- Anagram String
- Dutch National Flag
- Merge Overlaping Subintervals
- Rabin Karp Algorithm
- Remove Duplicate Element from an array using extra space
- Remove Duplicate Element Without using Extra Space
- Target Sum Triplets
- ZigZag
- Aggressive Cows
- Count The Reversals
- Count Distinct Elements in Every Window
- Knuth–Morris–Pratt Algorithm
- Kth largest element in array
- Longest Substring without Repeating characters
- Merge Overlaping Subintervals
- Rabin Karp Algorithm
- Remove the key element from array
- Remove outermost parenthesis
- Remove Duplicate Element from an array using extra space
- Remove Duplicate Element from an array without using Extra Space
- Spiral Matrix
- String to Int(atoi)
- Count Ways to Nth Stair
- Longest Common Prefix
- Target Sum Triplets
- Check for Subsequence
- Factorial of large numbers
- Happiness Problem (cp sets question)
- Prime Number With Recursion
- Prefix Sum of Array
- Prime Number without Recursion
- Suduko Solver
- Ugly Number With Recursion
- PDDI Using Recursion
- NQueens Problem
- Subarray of an array with given sum in O(n) time
- Largest Rectangle in Histogram
- Balanced Parenthesis
- Shortest Distance Between Words
- Defanged IP Address
- Minimum Element In a Rotated Array
- Stock Span Problem
- Wrapping Letters
- Sort 2D Array
- Reverse a string
- Implement Queue using Stack
- Implement Stack using Queue
- Longest Pallindrome Substring
- N-Queens_Problem_Efficient
- Longest Subarray Having Sum K
- Maximum of All Subarrays of Size K
- Paint Fence Algorithm
- Minimum Window Substring
- Length of Longest Substring Without Repeating Characters
- Longest Substring with K Distinct Characters
- Maximum Sum Subarray of Size K
- First Negative Number in Every Window of Size K
- Count Occurrences of Anagrams
- Maximum of All Subarrays of Size K
- Maximum of Minimum for Every Window Size
- Rat In A Maze
- Median of two sorted arrays
- Next Smallest Element to the Left
- Next Smallest element to right
- Next Greater Element to Left using stacks
- Next smallest element to right
- Ckeck for Subarray with sum 0
- Trapping Rain Water
- Trapping Rain Water II
- Matrix Rotation in Clockwise and Anti-Clockwise Directions
- MEX of an Array
- Rotten Oranges in a matrix
- Sliding Window Technique
- Find Minimum element in Rotated and Sorted Array
- Run length encoding
- Caesar Cipher
- Modified Caesar Cipher
- Homophonic Cipher
- Rail Fence Cipher
- Simple Columnar Transposition Cipher
- Simple Columnar Transposition Cipher With Multiple Rounds
- Vernam Cipher
- Key Word Cipher
- Hill Cipher
- Vigenere Cipher
- Playfair Cipher
- XOR Cipher
- Coin Change Problem Using DP
- Kandane Algorithm
- LCS
- FirstFit BestFit WorstFit
- Flood Fill Algorithm
- Binary Tress with N nodes
- Make String Palindrome
- Optimal Binary Search Tree
- Finding_shortest_path_for_multistaged_graph
- Rod Cutting Problem
- Flight of stairs
- Equal Sum Partition
- Minimum Cost Path
- Egg Dropping Problem
- Travelling Salesman Problem
- Longest Bitonic Subsequence
- Painting fence problem
- Right Side View of Binary Tree
- 0/1 Knapsack
- Binary Tree
- Level order traversal of a tree
- Check if a Binary Tree is a Binary Search Tree
- Find the LCA(Least Common Ancestor) in a Binary Search Tree
- Node to Root Path in a Binary Tree
- Detect Loop in Linked List
- Delete node from LinkedList
- Fold A Linked List
- Expression Tree from Postfix Expression
- Huffman ENcoder
- Linked List
- Linked List ~ Reverse
- Matrix Sorting
- Merge Two Sorted Arrays
- Middle Of LinkedList
- Queue Basic Functionalities
- Implementation of Heaps
- Implementation of Queue using stack & vice-versa
- Queue
- Reverse alternate k nodes in a linked list
- Segment Tree
- Sparse Matrices
- Sparse Matrix
- Stack ~ Linked List Implementation
- Stack Implementation-of-queue-using-stack
- Implementation of Stack using Queue
- Tree Traversal(preorder traversal)
- Tree Traversal(postorder traversal)
- Trie Insert and Search String
- Priority Queue
- AVL Tree
- Balanced Brackets
- Median of Two Sorted Arrays
- Remove Duplicate in a Unsorted Linked List without extra Space
- Merge In Between Linked Lists
- Double Ended Queue in Java
- Circular Queue
- Implementing Stacks using Arrays
- Minimum Element in Stack
- Top view of a binary tree
- Reversing Circular Linked List
- Best fit memory allocation
- Hashtable chaining
- Linear probing in Hashtable
- Prefix to Postfix
- Reverse queue using stack
- Zig Zag Traversal of Binary Tree
- Breadth First Search
- Depth First Search
- Dijkstra's Algorithm
- Floyd Warshall Algorithm
- Kruskal's Algorithm
- Level Order Traversal of a Binary Tree Using Priority Queue
- Paths From Source To Destination
- Prim's Algorithm
- Directed Graph Cycle Detection
- Topological Sort in Directed Acyclic Graph (DAG)
- Left view of binary tree
- Bipartite Check
- Articulation_Point
- Laplacian matrix for Undirected graph
- Count Number Of Digits
- Smallest Prime Factor
- Euler's Totient Function
- Iterative
- Recursive
- Check whether a number is power of 2
- String Method
- Sum of Divisors
- Binary Exponentiation
- Complex numbers
- Double Factorial
- Extended Euclid Algorithm
- Segmented_Sieve
- Sieve of Atkin
- Sieve of Eratosthenes
- Sum of Digit in a Number
- Armstrong number
- Number of Divisors
- Catalan Number
- Palindrome Number Using Recursion
- Strong Number Using Recursion
- Factorial Using Big Integer
- Factorial Using BigInteger
- HCF of two number
- Polynomial Sum & Product using Linked Lists
- Neon number
- Ascii of string
- Roots of Quadratic Equation
- Printing all Good Numbers ina a given range
- Transpose of Matrix
- Tribonacci series upto n terms
- HappyNumber
- MagicNumber
- Matrix Addition
- Mystery Number
- Perfect Number
- Matrix Multiplication
- Lucas Theorem
- Factorial of a Number
- Sum of Nth Row of Pascal Triangle
- Lucky Number
- Special Number
- Generalized Cullen Number
- Median of Running Streams
- Amicable Pair
- Squares in N*N Chessboard
- Climb Stairs With Minimum Moves
- Kandane Algorithm
- Longest common subsequence
- Longest common subsequence of Three Strings
- Maximum sum rectangle of 2D array
- Kandane Algorithm
- K Ordered LCS
- CoinChange DP
- Coin Change Problem Using DP
- Rectangle Cutting Using DP
- Binary Tress with N nodes
- Unique BST
- Job Sequencing to Maximize Profit
- Matrix Chain Multiplication to find the minimum cost
- Shortest common supersequence
- Perfect Sum Problem
- Floyd Warshall Algorithm
- Subset Sum to Target
- Dice Throw Problem
- Word Wrap Problem
add list here
- Binary Search
- Fibonacci Search
- Interpolation Search
- Ternary Search
- Jump Search
- Linear Search
- Manacher's Algorithm
- Stack Search
- Bilinear Search
- Recursive Binary Search
- BeadSort
- Bubble Sort
- Bucket Sort
- Cocktail Sort
- Counting Sort
- Heap Sort
- Insertion Sort
- Lomuto Partition
- Merge Sort
- Minimum number of swaps to sort an array of N unordered consecutive integers
- Optimized Bubble Sort
- PancakeSort
- Quick Sort
- Selection Sort
- Radix Sort
- Merge Sort Using Recursion
- Shell Sort
- Sleep Sort
- Comb Sort
- Tree Sort
- Quick Sort in strings
add list here
- Banker's Algorithm
- Memory Allocation in Operating Systems
- Page Replacement Algorithms
- Disk Scheduling Algorithms
- CPU Scheduling Algorithm - FCFS
- CPU Scheduling Algorithm - RR
- CPU Scheduling Algorithm - SJF
- CPU Scheduling Algorithm - SRTF
- Find Peak element
- Smallest and longest Substring with given length
- 3 sum closest to target
- All possible codes
- Count Complete Tree Nodes
- Find the numbers
- Find first missing positive number
- First non-repeating character in a string
- Insert Position
- Is Symmetric Tree
- Keys and rooms for entry
- Maximum size square sub-matrix with all 1's
- Merge 2 Sorted arrays in O(1) extra space
- Minimum Depth Binary Tree
- Minimum Sum Partition
- N Knight Kill
- One plus to the whole
- Optimal Division of numbers
- Print all possible subsequences
- Painter Partition problem
- Sum of pairwise bit differences
- Rainwater Harvesting
- Recursion Counting of Substring in given String
- Remove the key element from the array
- Retrieve Binary Search Tree
- Search Insert Position
- Convert Sorted Array to Binary Search Tree
- Sudoku solver
- Sum up root to the leaf number
- Sum up left leaves of the tree
- Swap Nibbles
- Three Sum Problem
- Tower of Hanoi problem
- Trimming Binary Tree
- Unique 3
- Unique Number in an Array using Bitmasking
- LastdigitofnthFibonacci
- Set Bits in an Integer
- Find GCD of two Numbers
- String Palindrome
- Maximum Consecutive Ones
- Adjacent Element Product
- Infix to Prefix Expression
- Infix to Postfix Expression
- Pair programmers productivity problem
- Union of two Unsorted Arrays
- Repeating and missing number
- Generate Parentheses
- Blocked Maze
- Knights Tour
- Word Ladder
- Linear probing in java
- Longest Consecutive Sequence
- Quadratic probing in java
- Display all possible keypad sequences for a given input number
- Product of Array Except Self