Video Game Pro
Shefin is playing a video game. In this game, there will be $N$ buildings in a row. $i^{th}$ buildin...
Subset of Sequences
You will be given a set of sequences. Each sequence is a list of numbers. Two sequences are K-simila...
Special Pair
Mr. X is an “array pagla” person. He loves doing different types of things with arrays. Today Mr. X ...
Subarray Sum
You are given an array having N integers. You have to select at most K positions in the array and re...
Phi Numbers in Range!
In number theory, Euler’s phi function, denoted as ϕ(n), is an arithmetic function which counts the ...
Another Query on String
You are given a string S (of length n) consisting of alphabets only. You need to perform m queries o...
Count the Chaos
Imagine, you have an array of integers of size N. At each index of this array is a unique integer fr...
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 ...
Buckets of Water
In Abby's area the water is available in the tap only from 6AM to 8AM. So, Abby thought she would st...
Straightforward
No gossip. In this problem I will just say what to do. Initially, you will be given a bracket sequen...
Rio and Inversion
One day Rio was returning home from his university and unfortunately lost his phone on the way. He a...
Modulo
Let's get straight into the problem. In ths problem, here will be multiple test cases. In each test ...
Sofdor Ali and Bracket Sequence
Sofdor Ali has invented a new game. He asked his assistant Jong Bahadur ( who happens to be a monkey...
Data Structure
The operations that are performed in a data structure can be categorized into two types: query and u...
Mr Max Count Sum
Mr Max , Mr Sum and Mr Count are three neighbours. They have a common enemy, an old man living in th...
Exists or Not Exists
You will be given some numbers. Then there will contain some queries. In every query there will be g...
Naughty Subsequence - V2.0
Mahib loves ‘Naughty Subsequence’-s. He will give you an array of characters ara[0,1,...,n-1] that c...
mashfiqur404 DP, DataStructure Very Easy 38/43/96
Hamming Distance
Hamming distance between two binary strings of equal length is the number of mismatches between ever...
Easy Prime!
There are N numbers in an array. You will have Q queries. In each query, you can make 2 operations. ...
Taju Kage Bunshin No Jutsu
Naruto Uzumaki is one of the strongest ninja of RUET (Rasengan University of Ebisu and Tobi), posses...
Set Union
Given two sets of integers, print the set containing the union of the two input sets. For example, g...
Neat Brackets
Given a sequence of opening and closing parentheses ("(" and ")") you will have to determine if it i...
Matching Brackets
You will be given a sequence of opening and closing brackets of different types ((, ), [, ], {, and ...
Rivalry Friends
Ryo and his girlfriend love to think about challenges. One day his girlfriend gave him a challenge t...
Laser Light
A 2D grid consists of a lot of special lights bulbs, which turns on upon the incidence of a laser li...
Toph uses cookies. By continuing you agree to our Cookie Policy.