Make Strings Great Again!
Do you know what is a sub-sequence? A sub-sequence is a sequence that can be derived from another se...
Mr. Hikiko and a Strange Game (Hard)
Mr. Hikiko recently downloaded a strange game on his phone from a store. This game is quite interest...
Cent Savings
To host a regional contest like NWERC a lot of preparation is necessary: organizing rooms and comput...
DP Moderate 4/5/5
On My Way
One fine morning you discovered yourself standing in a maze. The maze can be considered a connected ...
Erik: The Candyboy - 1
Erik has N candies, and he wants to distribute those candies among his friends. But he has more frie...
Alternative Subsequence: The Extension
Recall that the sequence b is a subsequence of the sequence a, if b can be derived from a by removin...
This Is Business
“Why brother why…?” “This is Business …” You have started a cupcake factory where two types of cupca...
Video Game Pro
Shefin is playing a video game. In this game, there will be $N$ buildings in a row. $i^{th}$ buildin...
Milad's Lost Tree
Milad likes trees so much. He has a rooted tree with $n$ vertices each of which has some non-negativ...
Pathetic Interview II
You all know about the story of Pathetic Interview-I. Today, I am sharing a story of my close friend...
Paranoid Trading
You have been newly appointed as the accountant of Michael Corleone - the famous mafia boss. Your ta...
Mix and Merge
You are given an array A of n elements and a constant k. You can perform the following operation on ...
reborn DP Moderate 5/19/83
Easy Sequence 2
Let’s define a easy sequence F. Where $ F(1) = 1 $ $ F(2X) = F(X)^2 + 1 $ $ F(2X+1) = F(X) \times F(...
Subarray Sum
You are given an array having N integers. You have to select at most K positions in the array and re...
OCD Returns!
This problem author has OCD (obsessive–compulsive disorder). One day his teacher gave him an array o...
Fivefold Removals
Alice and Bob are playing a simple game on marbles. They have a bucket containing N marbles, and the...
Help Chokro
Pias and Chokro are good friends. Pias's birthday is coming soon. So, Chokro wants to gift Pias an a...
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...
Penguins of Madagascar
One day the penguins of Madagascar found a string S... Wait... Wait. Actually the setter of the prob...
Unique Relief
Thanos has now figured out how to visit all the houses in the flood-affected area. However, now he h...
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...
Find NSUPS
Given a string s, find the number of subsequence in s which forms the word "NSUPS". A subsequence is...
Osim's Maze
Welcome to Osim's maze! Unfortunately, you are in the maze right now and you want to come outside th...
Counting Murgis
Ever since that wicked thief took away some of her murgis (hens, that is), Meena was ever anxious th...
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
Toph uses cookies. By continuing you agree to our Cookie Policy.