Ajob Commute II
Once again we return to Ajobshohor, the capital city and the heart of Ajobdesh. Ajobshohor’s road sy...
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 ...
Bored??
"Avoid touching your face, particularly your eyes, nose or mouth to prevent the virus from entering ...
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...
Color The Graph
You are given an acyclic, bidirectional graph with N nodes and M edges. The nodes are numbered from ...
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 ...
Count the Chaos
Imagine, you have an array of integers of size N. At each index of this array is a unique integer fr...
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...
Toph uses cookies. By continuing you agree to our Cookie Policy.