# algorithm

Topic Replies Activity
Copy a binary tree where each node has a random pointer 1 August 3, 2019
Find Maximum Subarray Sum using divide and conquer 1 August 3, 2019
Converting Postfix to Infix using Stack 1 August 3, 2019
Count inversions in an array using Fenwick Tree 1 August 2, 2019
Understanding Fenwick tree (Binary Indexed Tree) with Range product 1 August 2, 2019
Learn how to traverse a Tree (Inorder , Preorder , Postorder) 1 July 30, 2019
Find the maximum sum bitonic subsequence 1 July 29, 2019
Optimizing a Segment Tree with Lazy Propagation 1 July 29, 2019
Algorithm for finding minimum or maximum element in Binary Search Tree【O(log V) / O(V)】 1 July 25, 2019
Understand everything about Binary Search Tree 1 July 25, 2019
Algorithm for finding the minimum number of swaps required to convert a binary tree to binary search tree 1 July 25, 2019
Find and print all the paths between two vertices in a graph 1 July 25, 2019
Find Mother Vertex in a Graph【O(V+E)】 1 July 13, 2019
Kosaraju's Algorithm for Strongly Connected Components 【O(V+E)】 1 July 12, 2019
Fibonacci Heap 1 July 12, 2019
Count paths from Top Left to Bottom Right of a Matrix using Dynamic Programming【O(M*N)】 1 July 12, 2019
Using Farach Colton and Bender Algorithm to solve LCA【O(V) query】 1 July 11, 2019
Finding the Lexicographical Next Permutation Algorithm in O(N) time complexity 1 July 10, 2019
Heap’s algorithm for generating permutations 1 July 10, 2019
Algorithm to find cliques of a given size k in O(n^k) time complexity 1 July 9, 2019
Minimum Product Subset of an array 1 July 9, 2019
Maximum Product Subset of an array 1 July 9, 2019
Bit Mask 1 July 8, 2019
Greedy approach to find a single maximal clique in O(V^2) time complexity 1 July 3, 2019
Johnson Algorithm to find the shortest paths between all pair of vertices 1 July 2, 2019
Divide numbers from 1 to n into two groups with minimum sum difference from O(2^N) to O(N) 1 June 29, 2019
Using Bron Kerbosch algorithm to find maximal cliques in O(3^(N/3)) 1 June 28, 2019
Centroid Decomposition of Tree 1 June 28, 2019
Clique in Graphs 1 June 28, 2019
Solving Vertex Cover Problem from O(2^n) to O(n^2) 1 June 28, 2019