## Given an array, print all unique subsets with a given sum.

Objective: Given an array of integers and number N, Write an algorithm to find and print all the subsets of … Read more

Objective: Given an array of integers and number N, Write an algorithm to find and print all the subsets of … Read more

Objective: Given an array of numbers and integer K. Your task is to find lengths of all the subsets which … Read more

Objective: Given an integer N, Write an algorithm to select numbers from 1 to 9 and make combinations such that … Read more

Objective: Given a graph, write an algorithm to find all the articulation points or cut vertices. Articulation Points: In a … Read more

Objective: Given an undirected graph, Write an algorithm to determine whether its tree or not. An undirected graph is a … Read more

Objective: Given a 2d grid map of ‘1’s (land) and ‘0’s (water), count the number of distinct or unique islands. … Read more

Objective: Given a binary tree, write an algorithm to determine whether the tree is complete or not using Level order … Read more

Objective: Given a graph and a source vertex write an algorithm to find the shortest path from the source vertex to … Read more

Objective: Given a binary tree, write an algorithm to determine whether the tree is complete or not. Complete Binary Tree: … Read more

Objective: Given a 2d grid map of ‘1’s (land) and ‘0’s (water), count the number of islands. An island is … Read more

Objective: Given a graph represented by the adjacency List, write a Depth-First Search(DFS) algorithm to check whether the graph is … Read more

Objective: Given a number N, write an algorithm to find the maximum number of steps it takes to transform (1, … Read more

Objective: Given a stack of integers, write an algorithm to sort the stack using recursion. Example: Original Stack: [14, 9, … Read more

Objective: Given the banks and range of routing numbers for each bank. You have given a routing number, write a … Read more

Objective: Given an array of integers (in particular order or permutation of a set of numbers), write an algorithm to … Read more