# Tag Archives: circular-array

Given a circular array arr[] consisting of N integers, the task is to print the Next Greater Element for every element of the circular array.… Read More
Given an integer N and an array arr[] consisting of M integers from the range [1, N]. (M – 1) operations need to performed. In… Read More
Given a circular array arr[] of size N, the task is to check if it is possible to make all array elements of the circular… Read More
Given a circular array arr[] of N integers such that the last element of the given array is adjacent to the first element of the… Read More
Given a circular array arr[] containing N integers, the task is to find the minimum number of colors required to color the array element such… Read More
Given an array arr[] of positive numbers, find the maximum sum of a subsequence with the constraint that no 2 numbers in the sequence should… Read More
Given a circular array arr of N integers, the task is to minimize the maximum absolute difference of adjacent elements of the array without any… Read More
Given an array arr of size N and an integer K, the task is to find the maximum sum subarray of size k among all… Read More
Given an array of characters arr[] of size N and an integer K. You have to insert the characters into an empty string one by… Read More
Given an array of N integers, the task is to arrange them in a circular arrangement in such a way that the element is strictly… Read More
Given a cyclic string str and two integers i and j, the task is to count the minimum number of steps required to move from… Read More
Given a circular array containing only 0’s and 1’s, of size n where n = p*q (p and q are both odd integers). The task… Read More
Given a Binary Circular Array of size N elements and two positive integers x and y indicating the indices in the circular array. The task… Read More
Given a circular array of size n containing integers from 1 to n. Find the last element that would remain in the list after erasing… Read More
Given two lists, check if they are circularly identical or not. Examples: Input : list1 = [10, 10, 0, 0, 10] list2 = [10, 10,… Read More