Nearest Light
We, iuian develop a virtual vertical line with infinite length are numbered starting from zero from ...
C++ Vector Simulation
Array is an important data structure in computer science. It is also very important when it comes fo...
Maximum Meetings
I am the boss of my company. I have n employees. The office time of my company starts at 1. Every em...
Escape Plan
Hey, you are stuck on prison and you have to get out soon. This prison has one way road and you can ...
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 ...
Village Fair 2
There are N houses in a village far away from here. They are numbered from 1 to N. For this problem ...
Hide and Seek
You know how to play hide-and-seek, right? In a group of kids, one of them is selected to be the see...
Video Game Pro
Shefin is playing a video game. In this game, there will be $N$ buildings in a row. $i^{th}$ buildin...
New Year Couple
The new year 2017 is here. To celebrate the 31st night, Mr Rio has thrown a big party at his house. ...
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...
Primary Key
"Clarity-Lon" is the new awesome e-commerce based startup that went to the top of the chart within f...
Restore Missing Values
Consider an array of 'N' integers which is indexed from '1' to 'N'. Exactly 'Q' queries numbered fr...
Smallest Subarray
You are given an array A of N integers A1, A2, A3, ..., AN . If we select two indices (1 ≤ i ≤ j ≤ N...
Subset of Sequences
You will be given a set of sequences. Each sequence is a list of numbers. Two sequences are K-simila...
Byang and War Tactics
Byang is learning about War Tactics from Raat, a famous martial arts master, who has successfully tr...
Sofdor Ali and Bracket Sequence
Sofdor Ali has invented a new game. He asked his assistant Jong Bahadur ( who happens to be a monkey...
Device ID
A device ID is a distinct number associated with a smartphone or similar handheld device. Every smar...
Laser Light
A 2D grid consists of a lot of special lights bulbs, which turns on upon the incidence of a laser li...
Mario and Princess Peach
The world of Mario can be imagined as 2D grid of $N$ rows and $M$ columns--containing a total of $N ...
Final Days of Goldfinger
We see agent Bond once again being called in time of a great need. The vile criminal Auric Goldfinge...
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
Memes vs. Social Media
In this era of modern technology social media is the most powerful weapon and the viral issue is the...
City of Atlantis
Have you ever heard of The Atlantis City? It’s a Greek mythological city. Its existence doesn’t matt...
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...
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.