Passwords
Alice wants to extract some passwords from a random string. A password can have any number of charac...
Burger King
Every day, more than 11 million guests visit BURGER KING® restaurants around the world. And they do ...
Greedy Grid Game
“Uban game world” is an indoor gaming zone. It offers 5 game segments for only one ticket. Today, Al...
Make It Big!
You are given a number N (10 ≤ N ≤ 2×109). You have to perform exactly two swap operation. You can c...
Diagonal Sum
Given an N×N size matrix, you have to re-arrange the elements of the matrix in such a way that the d...
Cash Change
You have an unlimited number of cash notes of the following denominations: 1, 5, 10, 50, 100, 500. G...
Easy Sequence 1
Let’s define an easy sequence F. Where: F(1)=1 F(2X)=F(X)2+1 F(2X+1)=F(X)×F(X+1)+2 Here X is a posit...
Cutting Bamboos
There are $n$ bamboos in a row. Khan the bamboo cutter is going to cut them all one by one. He can d...
Game of Strings
Redoan is very fond of strings. He wants to go on a spree of solving string problems. His own teamma...
Misti Chor
Bhootu likes to eat misti. As he is a mischievous kid, he has decided to steal misti from the nearby...
Is It Perfect
Bob has an initial array D of length n . Alice is a good friend of Bob. So Bob challenges Alice to f...
Knapsack
You have a backpack that can carry a maximum weight of C. You will also be given a set of items, the...
DP Very Easy 75/94/231
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
Counting Murgis
Ever since that wicked thief took away some of her murgis (hens, that is), Meena was ever anxious th...
Who Ate the Pizza Slices?
Misty’s life is very dramatic. No matter how careful she is, some interesting and sometimes unfortun...
I Am Good 2.0
I am trying to become a good guy, giving contestants as little pain as possible. So, this problem is...
Osim's Maze
Welcome to Osim's maze! Unfortunately, you are in the maze right now and you want to come outside th...
Find NSUPS
Given a string s, find the number of subsequence in s which forms the word "NSUPS". A subsequence is...
Game of Tic-Tac-Toe
Alice and Bob is a playing a game of tic-tac-toe, to be precise a variant of tic-tac-toe called Nota...
Make More Money
You, the great businessman of TEUB, arrived at ESC land which consists of N cities numbered from 1 t...
Unique Relief
Thanos has now figured out how to visit all the houses in the flood-affected area. However, now he h...
Subset AND
You are given an array A of n integers and an integer k. You need to find if there is any non-empty ...
Penguins of Madagascar
One day the penguins of Madagascar found a string S... Wait... Wait. Actually the setter of the prob...
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...
The Hidden Island
It is believed that the hidden island of TreasureLand has many unsolved mysteries and undiscovered t...
Toph uses cookies. By continuing you agree to our Cookie Policy.