Skip to content

Tag Archives: circular-array

Given an array containing n numbers. The problem is to find the length of the longest contiguous subarray in a circular manner such that every… Read More
Given a circular array arr[] of length N, the task is to find the minimum absolute difference between any adjacent pair. If there are many… Read More
Given an array, the task is to find LIS (Longest Increasing Subsequence) in a circular way. Examples :  Input : arr[] = {5, 4, 3,… Read More
Prerequisite – Circular Singly Linked List We have discussed basics and how to implement circular queue using array in set 1. Circular Queue | Set… Read More
What is a Circular Queue? A Circular Queue is an extended version of a normal queue where the last element of the queue is connected… Read More
Implement a deque Using a circular array: Deque or Double Ended Queue is a generalized version of the Queue data structure that allows insert and… Read More
Given an array of n elements. Consider array as circular array i.e element after an is a1. The task is to find maximum sum of… Read More
Given a circular array of size n, find the maximum subarray sum of the non-empty subarray. Examples:  Input: arr[] = {8, -8, 9, -9, 10,… Read More