Nodes and Depth
From the above figure, the number of nodes for the first three depths are 3, 9, and 27. You will b...
Wizard Duel
Wizard Duel is approaching soon in Hogwarts and the students of the Dueling Club are absolutely thri...
Plantik
It is Argentina vs France in the football world cup final of 2022 in a parallel universe. You are a ...
Predict The Frequency
Luis was sleeping. He suddenly woke up with three positive integers N, M and X. He told his younger ...
Freezed Standings
Team Depuradores and Team Resolvers represented their university in the ICPC world finals 2021. Depu...
Opera & B2G1
“Don’t practice until you get it right. Practice until you can’t get it wrong” Bangladesh is the ho...
Blanket
You have a suitcase with length X, width Y and height Z. You also have a very comfortable blanket. I...
Diagonal Traversal
You are given an n×m grid. You can go from point (x1​,y1​) to any point (x2​,y2​) of grid if and onl...
Fibonacci Between
Given two numbers L and R, you must print all the Fibonacci numbers between L and R (inclusive). Alt...
Black or White
Imagine an infinite chess board. The cell on the bottom-left most corner is labelled (0,0). The cell...
Tricky Ratio
Given the radius (r) of a circle you have to calculate the ratio between the circumference (C) of th...
SUM Equals LCM
Given N, print a sequence of N positive integers A1​,A2​,…,AN​ that satisfy the following conditions...
Maximum Distance
You know it’s hard seeing your favorite person being interested in another one instead of you. At th...
Misti Chor
Bhootu likes to eat misti. As he is a mischievous kid, he has decided to steal misti from the nearby...
The Matrix
In the metaphysical world of the Matrix, different people make their chessboards with their own spec...
Counting Matrices
Given a natural number N and a prime p, let’s define a special set Zp​={0,1,2,…,p−1}. Now count the ...
Once Upon a Time in Dhaka
Dhaka is one of the mega cities of Bangladesh. At different times, Dhaka was entitled differently by...
Learning New Algorithms Every Day
Shak is a new programmer and he knows nothing about algorithms. He has made a plan and decided to le...
Walk on the Grid
There is a grid of size $R\times C$ where $R = $ Number of rows and $C = $ Number of columns. You sh...
Expected Values From Bubble Sort
Bubble sort is a sorting algorithm that can sort an array of numbers in increasing order. In each of...
Poltu and Digit Product
You are given two integer L and R. You have to find the summation of digit product of all number fro...
Poltu and Trailing Zero
Poltu gives a problem to his friend Boltu. The description is given below: You are given an integer ...
Arko and Special Permutations
Arko is very fond of permutations. He can easily calculate the number of n length permutations. (In ...
Calendar of Planet Biku
Mr. Hikiko is the emperor of a planet called Biku. He got a gift from planet earth which can count t...
Who Gets the Money!?
Who doesn’t get happy after getting money in the pockets of clothes before washing them? During this...
Toph uses cookies. By continuing you agree to our Cookie Policy.