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...
Is This a Give-Away?
Once there lived an ancient mage named Farabi. He could always give perfect weather forecast. He nev...
K-Game
To end the everlasting rivalry between Tom and Jerry, the Lady of the house found an Idea. She gives...
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 76/96/235
LCM Divisible Subsequence
You’ll be given an array of $N$ integers and two more integers $K$ and $M$. You have to find the num...
Lets Play Pipeline
In this problem you will have to solve a puzzle game named "Pipeline". 90's kids knows this game ver...
LIDS
We all know about LIS (Longest Increasing Sub sequence). The task to find the length of the longest ...
Lucky Stone Game
Alice and Bob are playing a stone game. They consider 4 and 7 as lucky numbers and they like to make...
Make It Big!
You are given a number N (10 ≤ N ≤ 2×109). You have to perform exactly two swap operation. You can c...
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...
Master Plan
Gakra Miah is a Wollywood movie lover. He watches movies almost everyday. He has watched so many mov...
Maximize Sum
You are given two integer arrays A and B of length n and m respectively. You can do the following op...
Maximum Sum
Little Jimmy loves to play with numbers. One day he was playing with a number sequence. In his game,...
m-Beautiful Numbers
An m-Beautiful Number is a number which is divisible by $m$ and the sum of the digits is also divisi...
Memes vs. Social Media
In this era of modern technology social media is the most powerful weapon and the viral issue is the...
Messy Table
Akib is a very good student but his reading table is very messy. One Friday afternoon, Akib is sitti...
Milad's Lost Tree
Milad likes trees so much. He has a rooted tree with $n$ vertices each of which has some non-negativ...
Mina and Raju
Everyone know about Mina & Raju. They are siblings as well as good friend. The friend-circle of Mina...
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
Move It!
Few of my friends are working on a game called “Move It!”. It's a tile-based game played on an $n\ti...
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...
MSIS!
Do you know what MSIS is? MSIS is the abbreviation for Maximum Sum Increasing Subsequence. It is a s...
My Small Number
You are given two integers N and M. Find another integer X divisible by M that has the same number o...
Naming Convention
Tony works in a multinational technology company named Voogle LLC. The employees of Voogle follow ce...
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.