Happy Sub-Sequence
Recently Alex has participated in a programming contest. He became 1st runner up. He couldn't solve ...
Sofia
Sofia has just arrived in Bangladesh. Rather asking it some dumb questions, lets give it a maze prob...
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
Poltu and Interesting Number
Poltu Loves interesting number. So he wants to find this type of number. The definition of an intere...
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(...
Dominoes Forever
Once when I was little, my father took me to a tobacco shop! It is surprising, but true. He asked th...
Bikpik Colony
Bikpiks are very small aliens. Day by day they are becoming very dangerous for human being. They liv...
Memes vs. Social Media
In this era of modern technology social media is the most powerful weapon and the viral issue is the...
Master Plan
Gakra Miah is a Wollywood movie lover. He watches movies almost everyday. He has watched so many mov...
Train Hijack
You and your friend Daneliya Tuleshova are planning to hijack a train. Your friend will go inside a...
I Hate Combinatorics!
Rick and Morty are being hunted by the galactic government. They ran away to the cell dimension. The...
Harry Potter and the Vault of Gringotts
"There was a break-in of Gringotts Wizarding Bank on 1 May, 1998, during the height of the Second Wi...
Game of Palindromes
In a popular computer game, Game of Palindromes also known as GOP there is a city called Palindesh. ...
Shrink the Array
You have an array of size N which contains positive integers. You can apply the following operation ...
Gaaner Koli
The protagonists of this problem are two great programmers of a certain institution Omanush and Ordi...
Police Stations
Recently the government of country S is going to construct some police stations(possibly zero) in so...
Rainy Day
You have to complete N tasks tomorrow, where each task can last for any number of minutes. Each task...
Is This a Give-Away?
Once there lived an ancient mage named Farabi. He could always give perfect weather forecast. He nev...
Pathetic Interview II
You all know about the story of Pathetic Interview-I. Today, I am sharing a story of my close friend...
Mina and Raju
Everyone know about Mina & Raju. They are siblings as well as good friend. The friend-circle of Mina...
Distinct Permutations
You are given two binary strings A and B. Recall that binary string is a non-empty sequence of chara...
Find NSUPS
Given a string s, find the number of subsequence in s which forms the word "NSUPS". A subsequence is...
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...
Subarray Sum
You are given an array having N integers. You have to select at most K positions in the array and re...
Polygon Construction (Hard)
Meera in going to picnic with her friends. They are going to have lots of fun. They will be doing va...
Toph uses cookies. By continuing you agree to our Cookie Policy.