Given an array, arr[] and a positive integer K. The task is to find the position say i of the element in arr[] such that… Read More

# Tag Archives: suffix-sum

Given an array arr[] of size N, the task is to find the index in the given array where the sum of the prime numbers… Read More

Given an array arr[] consisting of N positive integers, the task is to find an index from the array having count of prime numbers present… Read More

Given an array arr[] consisting of N integers and an integer K, the task is to find the sum of the length of the two… Read More

Given an array arr[] consisting of N integers and an integer K, the task is to find the number of times the absolute difference between… Read More

Given a circular array of size N. The task is to check if, for every index i starting from 0 to N-1, there exists an… Read More

Given an array of size N, the task is to find the encrypted array. The encrypted array is obtained by replacing each element of the… Read More