Generation Gap
There are n people standing in a queue. The age of the ith person is ai. The more the age gap betwee...
Lucky Stone Game
Alice and Bob are playing a stone game. They consider 4 and 7 as lucky numbers and they like to make...
Flow on Tree
Mr. Kaboom has recently learned about maximum flow. Now his friend Mr. Taboom gave him this problem....
Reverse Hash
Binary strings are strings that can only have 0 or 1 as the characters. The hash value of a string i...
Keep It Cool
As the workload of the semester is ramping up you get the task of refilling the fridge in the lab wi...
Greedy Moderate 33/37/89
Is It Perfect
Bob has an initial array D of length n . Alice is a good friend of Bob. So Bob challenges Alice to f...
The Hidden Island
It is believed that the hidden island of TreasureLand has many unsolved mysteries and undiscovered t...
Make Strings Great Again!
Do you know what is a sub-sequence? A sub-sequence is a sequence that can be derived from another se...
Gaaner Koli
The protagonists of this problem are two great programmers of a certain institution Omanush and Ordi...
Paranoid Trading
You have been newly appointed as the accountant of Michael Corleone - the famous mafia boss. Your ta...
Hasinur's Mission!
Let me tell you something about Hasinur: He is a religious person. He prays 5 times a day. He loves...
Ne-Zu-Ko Chaaaaaaaaaaaaan!
Tanjiro and his sister Nezuko live in a village that is shaped like a circle with a radius R. There'...
Babur Biye
Babu is getting married. Babu's fiancé is a prominent programmer of Bangladesh. She told Babu to sol...
Jontrona!
Isfan vai is on high demand nowadays. You know why, right? However, his best friend is somewhat disa...
Game of Tic-Tac-Toe
Alice and Bob is a playing a game of tic-tac-toe, to be precise a variant of tic-tac-toe called Nota...
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
Alternative Subsequence: The Extension
Recall that the sequence b is a subsequence of the sequence a, if b can be derived from a by removin...
Interesting Pile Game
Turja and Akash are playing an interesting game. Initially a pile of N stones is given to them. Each...
DP Moderate 39/46/125
Memes vs. Social Media
In this era of modern technology social media is the most powerful weapon and the viral issue is the...
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...
Master Plan
Gakra Miah is a Wollywood movie lover. He watches movies almost everyday. He has watched so many mov...
Efficient Construction on Mars
Elon Musk has constructed N cities numbered from 0 to N−1 on Mars. He initially planned to construct...
m-Beautiful Numbers
An m-Beautiful Number is a number which is divisible by $m$ and the sum of the digits is also divisi...
Estimation of Techboy
Techboy works in a software company. He codes in Node.js and React. Every now and then he has to giv...
Is Bita Happy?
Bita has learned bitwise-operations recently. She is doing some experiments with these operations no...
Toph uses cookies. By continuing you agree to our Cookie Policy.