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 ... |
Distinct Dishting You are given an array of N integers. Then there will be Q commands of the following type: Change ... |
Exists or Not Exists You will be given some numbers. Then there will contain some queries. In every query there will be g... |
MEXFN This is a straightforward problem without much story behind the problem. You have to calculate MEXF... |
Taju Kage Bunshin No Jutsu Naruto Uzumaki is one of the strongest ninja of RUET (Rasengan University of Ebisu and Tobi), posses... |
Phi Numbers in Range! In number theory, Euler’s phi function, denoted as ϕ(n), is an arithmetic function which counts the ... |
Not As Hard As It Seems Sakib and Shamim are good friends. As Sakib is a little naughty, every night before exam he disturbs... |
Neat Brackets Given a sequence of opening and closing parentheses ("(" and ")") you will have to determine if it i... |
Erik: The Candyboy - 2 Now Erik has more candies than he had previously. In fact, he has infinite number of candies, and he... |
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 Query on String You are given a string S (of length n) consisting of alphabets only. You need to perform m queries o... |
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 ... |
Subarray Sum You are given an array having N integers. You have to select at most K positions in the array and re... |
MEXimum Let’s get straight to the point. You are given a tree. In the tree, each node u has a number au ass... |
Counting Friends Johnny uses a social network called Supernova. Unlike the other social networks, Supernova does not ... |
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... |