Hablu's Team
This year Hablu wants to participate in ICPC. He studies in “Habagoba University” along with $n$ oth...
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...
Donate Our Department
We are students of CSE, IU. It is very well known that our departmental instruments are not so good....
Not As Hard As It Seems
Sakib and Shamim are good friends. As Sakib is a little naughty, every night before exam he disturbs...
Maximum Meetings
I am the boss of my company. I have n employees. The office time of my company starts at 1. Every em...
Powerful Array
You are given an array A of N integers . Now you have to process Q queries in this array. Each query...
Matching Brackets
You will be given a sequence of opening and closing brackets of different types ((, ), [, ], {, and ...
Tree Queries
You are given a tree of n vertices. Each vertex contains an integer. Vertex 1 is the root of the tre...
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 ...
Remember the Name...
There's a famous song written by Mike Shinoda, which has these lines: This is 10% luck, 20% skill, ...
Distinctness
A substring of string S is another string S' which occurs in string S. For example: S = aaba and one...
Final Days of Goldfinger
We see agent Bond once again being called in time of a great need. The vile criminal Auric Goldfinge...
Smart Query Handler
Bit operators perform bit-wise operations between two binary numbers. Wikipedia says, binary operati...
Primary Key
"Clarity-Lon" is the new awesome e-commerce based startup that went to the top of the chart within f...
Earthquake!
Most houses are not as safe as they could be. Earthquake engineering is an interdisciplinary branch ...
Expandable ListView
Minas is working on his new language. He want to add a feature call expandable listview. Here he exp...
Rio and Inversion
One day Rio was returning home from his university and unfortunately lost his phone on the way. He a...
New Year Couple
The new year 2017 is here. To celebrate the 31st night, Mr Rio has thrown a big party at his house. ...
Sofdor Ali and Bracket Sequence
Sofdor Ali has invented a new game. He asked his assistant Jong Bahadur ( who happens to be a monkey...
Subarray Sum
You are given an array having N integers. You have to select at most K positions in the array and re...
Special Pair
Mr. X is an “array pagla” person. He loves doing different types of things with arrays. Today Mr. X ...
Smallest Subarray
You are given an array A of N integers A1, A2, A3, ..., AN . If we select two indices (1 ≤ i ≤ j ≤ 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...
Village Fair 2
There are N houses in a village far away from here. They are numbered from 1 to N. For this problem ...
Toph uses cookies. By continuing you agree to our Cookie Policy.