Welcome To Tutorialspoint.dev
Officially launched 18th May 2019
Strings Accolite subsequence

Given two strings, find if first string is a subsequence of second

Given two strings str1 and str2, find if str1 is a subsequence of str2. A subsequence is a sequence that can be derived from another sequence by deleting some element...
Arrays Dynamic Programming subset

Perfect Sum Problem (Print all subsets with given sum)

Given an array of integers and a sum, the task is to print all subsets of given array with sum equal to given sum. Examples: Input : arr[] = {2, 3, 5, 6, 8, 10} ...

Subscribe to Our Newsletter