Another Query on String
You are given a string S (of length n) consisting of alphabets only. You need to perform m queries o...
Another String Query Problem
This time I'm going to introduce you to a new land, called String Land. In String Land there are N ...
Another Update-Query Problem
You will be given an array A of length N and you will have to perform Q operations on that array. Th...
Array Simulation
You are given an array of N elements. Initially all the indices have a value of 0. You have to do fo...
A Super Easy Problem - "Array Query"
Let's get into the problem directly without much description this time :D . You are given an array A...
Battle of Endor
After myriad battles and death of million rebel soldiers, it is high time to destroy the imperial ar...
Big Tang Theory
Shell Don (Shelly in short) is a theoretical physicist who is claimed to be highly intelligent with ...
Buckets of Water
In Abby's area the water is available in the tap only from 6AM to 8AM. So, Abby thought she would st...
Byang and War Tactics
Byang is learning about War Tactics from Raat, a famous martial arts master, who has successfully tr...
City of Atlantis
Have you ever heard of The Atlantis City? It’s a Greek mythological city. Its existence doesn’t matt...
City of Burgerland
Have you ever heard of The Burgerland City? The city is full of burger shops. You will surely find s...
Composite Facts
Let's define two functions F and S: F(n) = 1 + n! S(n,m) = Sum of first m non-prime integers which ...
Counting Friends
Johnny uses a social network called Supernova. Unlike the other social networks, Supernova does not ...
Crayons
Five friends A, B, C, D and E has come to a shop to buy crayons for their art project. They need cra...
Cut the Rope
Fahim is a rope seller. He has a special tool for cutting ropes. But recently this tool is behaving ...
C++ Vector Simulation
Array is an important data structure in computer science. It is also very important when it comes fo...
Data Structure
The operations that are performed in a data structure can be categorized into two types: query and u...
Dengue Affected Areas
Dengue, the talk of the town of Dhaka this year. So many people suffered from dengue fever and a num...
Device ID
A device ID is a distinct number associated with a smartphone or similar handheld device. Every smar...
Distinct Dishting
You are given an array of N integers. Then there will be Q commands of the following type: Change ...
Distinctness
A substring of string S is another string S' which occurs in string S. For example: S = aaba and one...
Donate Our Department
We are students of CSE, IU. It is very well known that our departmental instruments are not so good....
Dynamic Tree
You are given a tree containing N vertices. The vertices are numbered from 1 to N. A tree with N ver...
Earthquake!
Most houses are not as safe as they could be. Earthquake engineering is an interdisciplinary branch ...
Easy Peasy, Lemon Squeezy
Let's consider an array A which is initially empty. We'll perform two types of operation on that arr...
Toph uses cookies. By continuing you agree to our Cookie Policy.