# Tag Archives: array-range-queries

An array consisting of N integers is given. There are several Right Circular Rotations of range[L..R] that we perform. After performing these rotations, we needâ€¦ Read More
Given array arr[] of size N containing cyclic variables having states from 0 to (M – 1) (i.e when incremented from M-1 it goes toâ€¦ Read More
Given a Binary Tree consisting of N nodes and two positive integers L and R, the task is to find the count of nodes havingâ€¦ Read More
Given two numbers L and R. The task is to find the sum of numbers in the range L to R. Examples: Input: L =â€¦ Read More
Given integers L, R, X and Y such that (R > L â‰¥ 1), (X â‰¥ 0) and (Y â‰¥ 0). Find the permutation ofâ€¦ Read More
Given an array arr[] of N integers and Q queries of the form {X, Y} of the following two types: If X = 1, rotateâ€¦ Read More
Given an array arr[] of N integers and Q queries of the form {X, Y} of the following two types: If X = 1, rotateâ€¦ Read More
Given an array arr[] of N integers and Q queries of the form {X, Y} of the following two types: If X = 1, rotateâ€¦ Read More
Given an array arr[] of N integers and Q queries of the form {X, Y} of the following two types: If X = 1, rotateâ€¦ Read More
Given an array of n integers. You are given q queries. Write a program to print the floor value of mean in range l toâ€¦ Read More
Given an array of n integers. You are given q queries. Write a program to print the floor value of mean in range l toâ€¦ Read More
Given an array of n integers. You are given q queries. Write a program to print the floor value of mean in range l toâ€¦ Read More
Given an array of n integers. You are given q queries. Write a program to print the floor value of mean in range l toâ€¦ Read More
Given an array of n integers. You are given q queries. Write a program to print the floor value of mean in range l toâ€¦ Read More
Given an array A[] of size N. Solve Q queries. Find the product in the range [L, R] under modulo P ( P is Prime). â€¦ Read More