Battle of Endor
After myriad battles and death of million rebel soldiers, it is high time to destroy the imperial ar...
C++ Vector Simulation
Array is an important data structure in computer science. It is also very important when it comes fo...
Maintain the Queue
“Ajob Desh” is a strange country. Anyone who wants to buy train tickets need to go to the railway st...
Array Simulation
You are given an array of N elements. Initially all the indices have a value of 0. You have to do fo...
City of Atlantis
Have you ever heard of The Atlantis City? It’s a Greek mythological city. Its existence doesn’t matt...
Laser Light
A 2D grid consists of a lot of special lights bulbs, which turns on upon the incidence of a laser li...
Data Structure
The operations that are performed in a data structure can be categorized into two types: query and u...
Subset of Sequences
You will be given a set of sequences. Each sequence is a list of numbers. Two sequences are K-simila...
Perseus and The New Challenge
The life of princess Andromeda, the daughter of King Cepheus and Queen Cassiopeia of Ados, is in dan...
Byang and War Tactics
Byang is learning about War Tactics from Raat, a famous martial arts master, who has successfully tr...
Device ID
A device ID is a distinct number associated with a smartphone or similar handheld device. Every smar...
Another Query on String
You are given a string S (of length n) consisting of alphabets only. You need to perform m queries o...
MEXFN
This is a straightforward problem without much story behind the problem. You have to calculate MEXF...
Taju Kage Bunshin No Jutsu
Naruto Uzumaki is one of the strongest ninja of RUET (Rasengan University of Ebisu and Tobi), posses...
Phi Numbers in Range!
In number theory, Euler’s phi function, denoted as ϕ(n), is an arithmetic function which counts the ...
Dengue Affected Areas
Dengue, the talk of the town of Dhaka this year. So many people suffered from dengue fever and a num...
Distinct Dishting
You are given an array of N integers. Then there will be Q commands of the following type: Change ...
Crayons
Five friends A, B, C, D and E has come to a shop to buy crayons for their art project. They need cra...
Productive Employees
Congratulations on becoming the new boss of "Horizontal Company, branch: Sylhet"! But now you have a...
Modulo
Let's get straight into the problem. In ths problem, here will be multiple test cases. In each test ...
Mr Max Count Sum
Mr Max , Mr Sum and Mr Count are three neighbours. They have a common enemy, an old man living in th...
Palindrome Query I
You are given a string of length L. You have Q queries. In each query, you will be asked to either u...
Naughty Subsequence - V2.0
Mahib loves ‘Naughty Subsequence’-s. He will give you an array of characters ara[0,1,...,n-1] that c...
mashfiqur404 DP, DataStructure Very Easy 38/43/96
Hamming Distance
Hamming distance between two binary strings of equal length is the number of mismatches between ever...
Poltu and Graph
Poltu has got a graph with N nodes and M edges. Every edge has a weight. There can be multiple edges...
Toph uses cookies. By continuing you agree to our Cookie Policy.