## Print all subarrays using recursion

Given an array, write a recursive program to print all the subarrays. See the example below – Example: Input [] … Read more

Given an array, write a recursive program to print all the subarrays. See the example below – Example: Input [] … Read more

Problem: Given integers x, y, and z. Write a program to calculate (x^y)%z without pow() function. Example: x = 2, … Read more

Objective: You are given n jobs along with the deadline and profit for each job. Your task is to write … Read more

Problem: Given an array (positive and negative) and an integer, find the subarray with sum is equal to the given … Read more

Problem: Given a two-dimensional array where each individual row is sorted in ascending order. Your task to sort the entire … Read more

Problem: Implement the version control map system which takes the snapshot of the versions of data. Implement the following functions: … Read more

Objective: Given a map which has String as key and Integer as value. Write a program to sort the map … Read more

Objective: Interval is defined as [start, end]- the start of an interval to the end of the interval. Given a … Read more

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

Objective: Given two strings, source string and target string, which are permutation or anagram of each other. You are allowed … Read more

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

Objective: Given two integers N and K, Write an algorithm to find subsets of size K from the numbers 1 … Read more

Objective: Given two integers N and K, Write an algorithm to find possible combinations that add to K, from the … Read more

Objective: Given an array of integers, write an algorithm to construct the largest number possible by appending the array elements. … Read more

Objective: Given an array of integers, find the sum of any three elements which is closest to zero. The array … Read more