Neat Brackets Given a sequence of opening and closing parentheses ("(" and ")") you will have to determine if it i... |
Set Union Given two sets of integers, print the set containing the union of the two input sets. For example, g... |
Matching Brackets You will be given a sequence of opening and closing brackets of different types ((, ), [, ], {, and ... |
Another Query on String You are given a string S (of length n) consisting of alphabets only. You need to perform m queries o... |
Hablu's Team This year Hablu wants to participate in ICPC. He studies in “Habagoba University” along with $n$ oth... |
Mad Engineer Aksir Can you imagine? Mad Engineer Aksir finally got the job. His job is to set up toggle switch for a se... |
Exists or Not Exists You will be given some numbers. Then there will contain some queries. In every query there will be g... |
ICPC World Final ICPC (International Collegiate Programming Contest) World final is one of the most prestigious conte... |
Subarray Sum You are given an array having N integers. You have to select at most K positions in the array and re... |
Modulo Let's get straight into the problem. In ths problem, here will be multiple test cases. In each test ... |
United State of Koanhali Koanhali is a strange country. The govt. of Koanhali maintain the marriages of this country. If you ... |
Cut the Rope Fahim is a rope seller. He has a special tool for cutting ropes. But recently this tool is behaving ... |
MEXimum Let’s get straight to the point. You are given a tree. In the tree, each node u has a number au ass... |
Data Structure The operations that are performed in a data structure can be categorized into two types: query and u... |
Tree Queries You are given a tree of n vertices. Each vertex contains an integer. Vertex 1 is the root of the tre... |
City of Burgerland Have you ever heard of The Burgerland City? The city is full of burger shops. You will surely find s... |
MSIS! Do you know what MSIS is? MSIS is the abbreviation for Maximum Sum Increasing Subsequence. It is a s... |
Counting Friends Johnny uses a social network called Supernova. Unlike the other social networks, Supernova does not ... |
Distinct Dishting You are given an array of N integers. Then there will be Q commands of the following type: Change ... |
Easy Peasy, Lemon Squeezy Let's consider an array A which is initially empty. We'll perform two types of operation on that arr... |
Social Distancing The country of KhoaNali is structured as a giant road with N buildings on both sides, the northern b... |
Not As Hard As It Seems Sakib and Shamim are good friends. As Sakib is a little naughty, every night before exam he disturbs... |
Jenga Tower Maybe you all are familiar with Jenga Game. "Jenga is played with 54 wooden blocks. Each block is th... |
Taju Kage Bunshin No Jutsu Naruto Uzumaki is one of the strongest ninja of RUET (Rasengan University of Ebisu and Tobi), posses... |
Smart Query Handler Bit operators perform bit-wise operations between two binary numbers. Wikipedia says, binary operati... |