# Tag Archives: circular-array

Given a circular array arr[] of size N, the task is to find the next integers of same parity for every element in arr[]. Ifโฆ Read More
Given a binary circular array arr[] of size N, the task is to find the minimum swaps to group all 0s together in the array.โฆ Read More
Content Removed Recommended Solve DSA problems on GfG Practice. Solve Problems My Personal Notes arrow_drop_up Save
Given n numbers (both +ve and -ve), arranged in a circle, find the maximum sum of consecutive numbers.ย  Examples:ย  Input: a[] = {8, -8, 9,โฆ Read More
Given n numbers (both +ve and -ve), arranged in a circle, find the maximum sum of consecutive numbers.  Examples:  Input: a[] = {8, -8, 9,โฆ Read More
Given n numbers (both +ve and -ve), arranged in a circle, find the maximum sum of consecutive numbers.ย  Examples:ย  Input: a[] = {8, -8, 9,โฆ Read More
Given n numbers (both +ve and -ve), arranged in a circle, find the maximum sum of consecutive numbers.  Examples:  Input: a[] = {8, -8, 9,โฆ Read More
Given n numbers (both +ve and -ve), arranged in a circle, find the maximum sum of consecutive numbers.ย  Examples:ย  Input: a[] = {8, -8, 9,โฆ Read More
Given n numbers (both +ve and -ve), arranged in a circle, find the maximum sum of consecutive numbers.ย  Examples:ย  Input: a[] = {8, -8, 9,โฆ Read More
Given an circular array arr[] consisting of N integers, the task is to find the minimum number of operations to reduce all elements of aโฆ Read More
Given an array arr[] consisting of N integers and a positive integer M, the task is to find the sum of the first M elementsโฆ Read More
Given a circular array arr[] consisting of N integers, the task is to find the starting index of the circular array such that the prefixโฆ Read More
Given a circular array arr[] consisting of N positive integers, the task is to modify the array by replacing each array element with the nearestโฆ Read More
Given a circular array arr[] of size N and an index K, the task is to reverse all elements of the circular array starting fromโฆ Read More
Given a circular array arr[] of size N and two integers K and M, the task is to sort M array elements starting from theโฆ Read More