Matching BracketsYou will be given a sequence of opening and closing brackets of different types ((, ), [, ], {, and ...

Exist or not existYou will be given some numbers. Then there will contain some queries. In every query there will be g...

United State of KoanhaliKoanhali is a strange country. The govt. of Koanhali maintain the marriages of this country. If you ...

Set UnionGiven two sets of integers, print the set containing the union of the two input sets. For example, g...

Village Fair 2There are N houses in a village far away from here. They are numbered from 1 to N. For this problem ...

MSIS!Do you know what MSIS is? MSIS is the abbreviation for Maximum Sum Increasing Subsequence. It is a s...

Color The GraphYou are given an acyclic, bidirectional graph with N nodes and M edges. The nodes are numbered from ...

Not As Hard As It SeemsSakib and Shamim are good friends. As Sakib is a little naughty, every night before exam he disturbs...

Data StructureThe operations that are performed in a data structure can be categorized into two types: query and u...

Count the ChaosImagine, you have an array of integers of size N. At each index of this array is a unique integer fr...

Mad Engineer AksirCan you imagine? Mad Engineer Aksir finally got the job. His job is to set up toggle switch for a se...

Rivalry FriendsRyo and his girlfriend love to think about challenges. One day his girlfriend gave him a challenge t...

Making Football Teams!!!There are N football teams and each team has positive number of players. You are given Q queries. Q...

Tree QueriesYou are given a tree of n vertices. Each vertex contains an integer. Vertex 1 is the root of the tre...

Easy Prime!There are N numbers in an array. You will have Q queries. In each query, you can make 2 operations. ...

Byang and War TacticsByang is learning about War Tactics from Raat, a famous martial arts master, who has successfully tr...

Taju Kage Bunshin No JutsuNaruto Uzumaki is one of the strongest ninja of RUET (Rasengan University of Ebisu and Tobi), posses...

Another Query on StringYou are given a string S (of length n) consisting of alphabets only. You need to perform m queries o...

Sofdor Ali and Bracket SequenceSofdor Ali has invented a new game. He asked his assistant Jong Bahadur ( who happens to be a monkey...

Dengue Affected AreasDengue, the talk of the town of Dhaka this year. So many people suffered from dengue fever and a num...
