Matching Brackets

You will be given a sequence of opening and closing brackets of ...

Count the Chaos

Imagine, you have an array of integers of size N. At each index ...

Easy Prime!

There are N numbers in an array. You will have Q queries. In eac...

City of Atlantis

Have you ever heard of The Atlantis City? It’s a Greek mythologi...

Distinct Dishting

You are given an array of N integers. Then there will be Q comma...

Byang and War Tactics

Byang is learning about War Tactics from Raat, a famous martial ...

Sofdor Ali and Bracket Sequence

Sofdor Ali has invented a new game. He asked his assistant Jong ...

Data Structure

The operations that are performed in a data structure can be cat...

Smallest Subarray

You are given an array A of N integers A1, A2, A3, …, AN . If we...

Array Simulation

You are given an array of N elements. Initially all the indices ...

Device ID

A device ID is a distinct number associated with a smartphone or...

Primary Key

“Clarity-Lon” is the new awesome e-commerce based startup that w...

Rio and Inversion

One day Rio was returning home from his university and unfortuna...

Special Pair

Mr. X is an “array pagla” person. He loves doing different types...

Village Fair 2

There are N houses in a village far away from here. They are num...

Maintain the Queue

“Ajob Desh” is a strange country. Anyone who wants to buy train ...

Subset of Sequences

You will be given a set of sequences. Each sequence is a list of...

Perseus and The New Challenge

The life of princess Andromeda, the daughter of King Cepheus and...

Mario and Princess Peach

The world of Mario can be imagined as 2D grid of N rows and M co...

Final Days of Goldfinger

We see agent Bond once again being called in time of a great nee...

Smart Query Handler

Bit operators perform bit-wise operations between two binary num...

Earthquake!

Most houses are not as safe as they could be. Earthquake enginee...

Expandable ListView

Minas is working on his new language. He want to add a feature c...

New Year Couple

The new year 2017 is here. To celebrate the 31st night, Mr Rio h...

Subarray Sum

You are given an array having N integers. You have to select at ...

Another Update-Query Problem

You will be given an array A of length N and you will have to pe...

Cut the Rope

Fahim is a rope seller. He has a special tool for cutting ropes....

Battle of Endor

After myriad battles and death of million rebel soldiers, it is ...

Another Query on String

You are given a string S (of length n) consisting of alphabets o...

Tree Queries

You are given a tree of n vertices. Each vertex contains an inte...

Dengue Affected Areas

Dengue, the talk of the town of Dhaka this year. So many people ...

Crayons

Five friends A, B, C, D and E has come to a shop to buy crayons ...

Related Categories