Find triplets in an array whose AND is maximum
Given an array of positive integers of size n. Find the count of the triplets whose AND is maximum and also find that maximum given… Read More »
Given an array of positive integers of size n. Find the count of the triplets whose AND is maximum and also find that maximum given… Read More »
Given an array of integers of size N, you have to divide it into the minimum number of “strictly increasing subsequences” For example: let the… Read More »
Given an sorted array of positive numbers our tasks is to find the kth smallest sum of continuous subarray. Examples: Input : a[] = {1,… Read More »
Given a square of size n . There are n2 small squares inside the square n of size 1 unit each, in which any one… Read More »
Given an array arr[] of N elements. The task is to find the maximum number of the contiguous even numbers in the given array. Examples:… Read More »
Given an array ‘arr’ of length ‘n’. The task is to find the largest contiguous sub-array having the count of prime numbers strictly greater than… Read More »
Given an array of n size contains the cost of sweets in such a way that that sweet[i] is the cost of i sweets. The… Read More »
Given a binary string str, the task is to print the numbers of steps required to convert it to one by the following operations: If… Read More »
Given an array of numbers. The task is to check if it is possible to arrange all the numbers in a circle so that any… Read More »
Given an equation of the form: a + b = c Out of which any one of the terms , or is missing. The task… Read More »
Given an integer N. The task is to find all factors of N and print the product of four factors of N such that: Sum… Read More »
Given the coordinates of 5 2-dimensional points, check if they form a closed T shape. Print ‘Yes’ if they form T shape and ‘No’ otherwise.… Read More »
Given two arrays and with n elements each. The task is to make these two arrays identical i:e, for each , we want to make… Read More »
Given an integer N, the task is to find the maximum product of A, B, C, D such that below conditions satisfy: N%A ==0 &&… Read More »
We are given a recursive function that describes Nth terms in form of other terms. In this article we have taken specific example. Now you… Read More »