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
The post Find position i to split Array such that prefix sum till i-1, i and suffix sum till i+1 are in GP with common ration K appeared first on GeeksforGeeks.