## Find all cliques of size K in an undirected graph

Given an undirected graph with N nodes and E edges and a value K, the task is to print all set of nodes which form… Read More »

- Live Classes for Data Structures and Algorithms: Interview Preparation Focused Course
- Playfair Cipher with Examples
- Count of triplets that satisfy the given equation
- Maximum Sequence Length | Collatz Conjecture
- Implementation of BFS using adjacency matrix
- Find a pair (n,r) in an integer array such that value of nPr is maximum
- Minimum increment or decrement operations required to make the array sorted
- Maximum XOR of Two Numbers in an Array
- Check if the rows of a binary matrix can be made unique by removing a single column
- Longest Increasing Subsequence using Longest Common Subsequence Algorithm
- Color all boxes in line such that every M consecutive boxes are unique
- Count the number of elements which are greater than any of element on right side of an array
- Count all substrings having character K
- Count of triples (A, B, C) where A*C is greater than B*B
- Minimum increment operations to make K elements equal
- Maximise the number of toys that can be purchased with amount K using min Heap
- Number of sub arrays with negative product
- Minimize the cost of partitioning an array into K groups
- Find a pair (n,r) in an integer array such that value of nCr is maximum
- Minimum distance to visit all the nodes of an undirected weighted tree
- Widest Path Problem | Practical application of Dijkstra's Algorithm
- Count the values greater than X in the modified array
- Maximize the Expression | Bit Manipulation
- Maximum non-attacking Knights that can be placed on an N*M Chessboard
- Sum of absolute differences of pairs from the given array that satisfy the given condition
- Expand the string according to the given conditions
- Comparing X^Y and Y^X for very large values of X and Y
- Implementation of DFS using adjacency matrix
- Find all numbers between range L to R such that sum of digit and sum of square of digit is prime
- Minimum number of additons to make the string balanced

Given an undirected graph with N nodes and E edges and a value K, the task is to print all set of nodes which form… Read More »

Given an integer N and a tolerance level L, the task is to find the square root of that number using Newton’s Method. Examples: Input:… Read More »

Linear Algebra principles are crucial for understanding the concept behind Machine Learning, as well as Deep Learning, even many ideas struggle to create a precise… Read More »

Given the coordinates of two endpoints A(x1, y1), B(x2, y2) of the line segment and coordinates of a point E(x, y); the task is to… Read More »

Given a number N, the task is to find the bitwise OR( | ) of all even number from 1 to N. Examples: Input: 2… Read More »

Given an array arr[], the task is to find all the maximal contiguous increasing subarray in a given array. Examples: Input: arr[] = { 80,… Read More »

Given an array A[], the task is to find the number of positions i in the array such that all elements before A[i] are greater… Read More »

Given a number N, the task is to count all possible combinations of pairs formed using adjacent elements. Note: If an element exists already in… Read More »

Given an array of distinct integers arr[]. The task is to find a triplet(a group of 3 elements) that has the minimum sum. Note: The… Read More »

Given are integers N, L and R, the task is to count the number of non decreasing arrays of length N formed with values in… Read More »

Given an array arr[] of size N, the task is to print the arrangement of the array such that upon performing following operations on this… Read More »

Given an array arr[] of size N consisting of positive integers and an integer K, the task is to find the minimum number of steps… Read More »

Given a string str, the task is to find the length of the longest palindromic subsequence of even length with no two adjacent characters same… Read More »

Given an array arr[] of N unique positive integers and an element X, the tasks is to count the total possible number of subsets of… Read More »

Given are N natural numbers, the task is to find the count of the subarrays of size N that can be formed using elements from… Read More »