Range Queries

8 problems to practice.

8 Total
0 Easy
2 Medium
6 Hard

Range Addition

1. You are given a number N. 2. Assume you have an array of length N initialised with all 0's. 3...

medium

Moksh And His Girlfriend

Recently Moksh(HR of Pepcoding) invented a serum which can increase height of plant by 1 unit. Moksh...

hard

Square Root Decomposition

You are given a list of N numbers and Q queries.Each query is specified by two numbers i and j.The a...

hard

Point Update In Square Root Decomposition

You are given a list of N numbers and Q queries. There are two types of queries: 1. f l r : In a...

hard

Fenwick Tree

Mr. Pepcoder has an array A, and his Friend love to do operations on the array. The operations can...

hard

2d Binary Indexed Tree

Mr. Pepcoder has a 2D Array, and his Friend love to do operations on thearray. The operations can be...

hard

Create Sorted Array Through Instructions

1.Given an integer array instructions. 2.you are asked to create a sorted array from the elements i...

hard

Sparse Table

<a href="https://www.spoj.com/problems/RMQSQ/">https://www.spoj.com/problems/RMQSQ/</a>

medium