Given a set of non-negative integers and a value sum, the task is to check if there is a subset of the given set whose… Read More
Tag Archives: Drishti-Soft
Given a linked list where every node represents a linked list and contains two pointers of its type: Pointer to next node in the main… Read More
The partition problem is to determine whether a given set can be partitioned into two subsets such that the sum of elements in both subsets… Read More
Subset sum problem is to find subset of elements that are selected from a given set whose sum adds up to a given number K. We… Read More
We have discussed Backtracking and Knight’s tour problem in Set 1. Let us discuss Rat in a Maze as another example problem that can be… Read More