Laser Light
A 2D grid consists of a lot of special lights bulbs, which turns on upon the incidence of a laser li...
Explosion
There is a house named Larcana. It is a very weird house. There are exactly N rooms in total and bet...
Device ID
A device ID is a distinct number associated with a smartphone or similar handheld device. Every smar...
Sofdor Ali and Bracket Sequence
Sofdor Ali has invented a new game. He asked his assistant Jong Bahadur ( who happens to be a monkey...
Going Round in Circles
You are given an array of non-negative integers of length n. You have to perform two types of operat...
Byang and War Tactics
Byang is learning about War Tactics from Raat, a famous martial arts master, who has successfully tr...
Subset of Sequences
You will be given a set of sequences. Each sequence is a list of numbers. Two sequences are K-simila...
Smallest Subarray
You are given an array A of N integers A1, A2, A3, ..., AN . If we select two indices (1 ≤ i ≤ j ≤ N...
Do You Know Tree ?
"Stay at least one metre distance from others.” Corona has affected the World as well as Bangladesh....
Restore Missing Values
Consider an array of 'N' integers which is indexed from '1' to 'N'. Exactly 'Q' queries numbered fr...
Holy Tree
What is a tree? A tree is a bidirectional connected graph with no cycle. In a tree, we can create ...
Primary Key
"Clarity-Lon" is the new awesome e-commerce based startup that went to the top of the chart within f...
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...
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. ...
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...
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 ...
Escape Plan
Hey, you are stuck on prison and you have to get out soon. This prison has one way road and you can ...
Maximum Meetings
I am the boss of my company. I have n employees. The office time of my company starts at 1. Every em...
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...
Battle of Endor
After myriad battles and death of million rebel soldiers, it is high time to destroy the imperial ar...
Static Tree
You are given a tree containing N vertices. The vertices are numbered from 1 to N. A tree with N ver...
XOR Tree
You are given a tree with N vertices. A tree is a connected undirected graph without cycles. The tre...
Toph uses cookies. By continuing you agree to our Cookie Policy.