Social Distancing The country of KhoaNali is structured as a giant road with N buildings on both sides, the northern b... |
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... |
Distinctness A substring of string S is another string S' which occurs in string S. For example: S = aaba and one... |
Crayons Five friends A, B, C, D and E has come to a shop to buy crayons for their art project. They need cra... |
Dengue Affected Areas Dengue, the talk of the town of Dhaka this year. So many people suffered from dengue fever and a num... |
A Super Easy Problem - "Array Query" Let's get into the problem directly without much description this time :D . You are given an array A... |
Maintain the Queue “Ajob Desh” is a strange country. Anyone who wants to buy train tickets need to go to the railway st... |
Making Football Teams There are N football teams and each team has a positive number of players. You are given Q queries. ... |
Yet Another Xinversion The problem statement is simple. You are given a rooted tree (1 is the root) and every node has a co... |
Phi Numbers in Range! In number theory, Euler’s phi function, denoted as ϕ(n), is an arithmetic function which counts the ... |
GCD and Sum Congratulations! You’ve been hired in “Buggy Software Ltd.” And you’ve been already given your first... |
Hamming Distance Hamming distance between two binary strings of equal length is the number of mismatches between ever... |
StackLang StackLang is a stack-based programming language. Here, each program contains a series of commands th... |
Rio and Inversion One day Rio was returning home from his university and unfortunately lost his phone on the way. He a... |
Poltu and Graph Poltu has got a graph with N nodes and M edges. Every edge has a weight. There can be multiple edges... |
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... |
Memes vs. Social Media In this era of modern technology social media is the most powerful weapon and the viral issue is the... |
City of Atlantis Have you ever heard of The Atlantis City? It’s a Greek mythological city. Its existence doesn’t matt... |
Naughty Subsequence - V2.0 Mahib loves ‘Naughty Subsequence’-s. He will give you an array of characters ara[0,1,...,n-1] that c... |
Final Days of Goldfinger We see agent Bond once again being called in time of a great need. The vile criminal Auric Goldfinge... |
Straightforward No gossip. In this problem I will just say what to do. Initially, you will be given a bracket sequen... |
Color The Graph You are given an acyclic, bidirectional graph with N nodes and M edges. The nodes are numbered from ... |
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 ... |