# 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