Cash Change
You have an unlimited number of cash notes of the following denominations: 1, 5, 10, 50, 100, 500. G...
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 ...
Passwords
Alice wants to extract some passwords from a random string. A password can have any number of charac...
Disturbing Students
N students were gathered in front of CSEmpur gate. They wanted to take a tour of the famous CSEmpur ...
Buildings
There are n buildings in a row. The height of the i-th building is hi​. You have ৳k. It is the amoun...
Angels and Demons
You are walking at midnight along a road that has N checkpoints numbered from 1 to N from left to ri...
Fantastic Food
As we all know that Alice and Bob just landed in Fantastic World and are going to stay for the next ...
Problem Setter Crisis
Competitive Programming is very popular in Leading University. There are many great achievements of ...
Permutations and Divisors
Let P be a permutation of length n where each value from 1 to n occurs exactly once. A subsequence o...
Birthday Gifts
Today is Luke's birthday. Mr. Phil Dunphy (Luke's father) has thrown a birthday party for him and de...
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...
Hardest Problem Ever
Prof.Dr.DP is very famous professor. He is expert (actually legendary grandmaster) in Dynamic Progra...
Lexicographical Smallest String
There is a string $s$ of length $n$ containing lowercase letters and an integer $k$. Among the lette...
Ekupai
Hacker robot Ekupai is trying to hack a supercomputer. He needs a cheat code X to hack this computer...
Game of Strings
Redoan is very fond of strings. He wants to go on a spree of solving string problems. His own teamma...
Train Hijack
You and your friend Daneliya Tuleshova are planning to hijack a train. Your friend will go inside a...
Darth Vader and 3PO on a Tree!
Did you watch Star Wars yet? No? You should in your free time. Now back to Darth Vader and 3PO. Dart...
Estimation of Techboy
Techboy works in a software company. He codes in Node.js and React. Every now and then he has to giv...
Remember-Remainder
Zarin is a sadist. She loves to give problems to her close people. Today she gives you an array cons...
Find the Good Sequence
Let's say two numbers are called "good" if their difference is at least 2. Similarly, a sequence is ...
Find NSUPS
Given a string s, find the number of subsequence in s which forms the word "NSUPS". A subsequence is...
Jontrona of Liakot
Liakot, the king of Cox's Bazar, is currently in a dire situation. His own younger sister Ayesha is ...
Assigning Workstations
Penelope is part of the admin team of the newly built supercomputer. Her job is to assign work-stati...
Dominoes Forever
Once when I was little, my father took me to a tobacco shop! It is surprising, but true. He asked th...
Flow on Tree
Mr. Kaboom has recently learned about maximum flow. Now his friend Mr. Taboom gave him this problem....
Toph uses cookies. By continuing you agree to our Cookie Policy.