Window Seats on a Bus
Karim is traveling by bus. He has the window seat. However, he has to share the window with the pass...
Boltu vs Balti
Boltu and Balti are two friends. Boltu is a great programmer whereas Balti is a newbie programmer. B...
Red and Green
Suppose, there is an array of N integers. Each index of the array is either red or green. The first ...
Sofdor Ali's Restaurant
One of Sofdor Ali’s greatest accomplishment was his Biriyani restaurant! Unlike the traditional rest...
Arya and OR
Little Arya loves to play with numbers. She likes to play in different ways with them. One day she s...
Kotlin Heroes
The International Collegiate Programming Contest is an algorithmic programming contest for college s...
Sofdor Ali and Histogram
The Great Sofdor Ali is now interested in competitive programming. Seeing this, his friend and also ...
The Titan
The Titan, a giant ship started its journey on the dark sea. It was going to the North America. On t...
Genius Needs Help
You all know Emrul bhai, right? He is a genius guy. He knows how to add two integer numbers and so d...
Modulo
Let's get straight into the problem. In ths problem, here will be multiple test cases. In each test ...
Mag the Mighty Kaidul
The winter is about to come. Mag the Mighty Kaidul is waiting for it for days. It is his favorite se...
Magic Number
Jack loves to play with numbers. One day, while he was playing with numbers he found something inter...
Counting Triplets
Given an array of N integers A1​, A2​, A3​, …, AN​. Vector has to find the number of Fibonacci Tripl...
Co-Prime Enemy Pair
Two integers A and B are known as co-prime or relatively prime if their greatest common divisor GCD ...
Do you have Arithmophobia ?
Don’t worry! If you are a programmer, you might not have arithmophobia!! But Era has a weird phobia ...
Prime Range
Prime Numbers are such numbers which are only divided by 1 and the number itself. 2, 3, 5, 7, 11, 13...
Easy Prime!
There are N numbers in an array. You will have Q queries. In each query, you can make 2 operations. ...
Nodes and Depth
From the above figure, the number of nodes for the first three depths are 3, 9, and 27. You will b...
Misti Chor
Bhootu likes to eat misti. As he is a mischievous kid, he has decided to steal misti from the nearby...
Area
In this problem, you will be given a square which has a length of n. Co-ordinates of the square are ...
Yet Another Query Problem!
You are given an array $A$ of length $n$ consisting of integers between $1$ and $10^6$. You need to ...
Easy Peasy Subset Sum
Little Oishee loves to watch TV. But her mother, who is a math teacher, doesn't like this at all. Sh...
Kinderbijslag
Kinderbijslag (children's allowance) is a social security payment which is distributed to the parent...
Math Very Easy 318/339/595
Dilu's Library
Dilu is a young boy who loves mathematics. He recently learned how to code. He was interested in sol...
The Game Is Back On
Moriarty is bored again. When he gets bored, the only thing he wants to do is play with Sherlock. So...
Toph uses cookies. By continuing you agree to our Cookie Policy.