Birthday Present?!
As everyone gifts graphs or strings to people on their birthdays, Oyshee’s friends decided to do som...
The Election of Noakhali
Recently, Noakhali became a sovereign state. As a result, the first parliamentary election of the Re...
Red Blue Graph
You are given a connected, undirected, unweighted graph. You need to assign one of the two colors Re...
Arghya Moderate 7/8/51
Kakashi's Game
Kakashi is a student of CSE at DIU. In his OOP course, he needs to submit a project as the final lab...
Saimur Moderate 16/19/58
The Total Score of an Array
Let’s say, min is the minimum element of an array and max is the maximum element of an array. The sc...
Subarray Pyramid
An integer sequence $b_1, b_2, \ldots, b_m$ is a pyramid if it satisfies the following conditions: ...
Nodes and Depth
From the above figure, the number of nodes for the first three depths are 3, 9, and 27. You will b...
Christmas Tree
Professor Rio has an amazing Christmas tree. Unlike other trees, this Christmas tree has some specia...
ML Vs AI
Nowadays, CS students try to learn Machine Learning and Artificial Intelligence even before learning...
A Weird Dragon
We all know about Daenerys Targaryen and her three dragons. And we also know that one of those drago...
Moderate 14/19/52
Lucky Shirt
Marjokes is a very famous comedy personality in Byteland. He is a poet, a writer, a singer and an ac...
Expected Oddness
Alita found a string of n characters where each character of the string is either '0' or '1'. The Od...
Robi Kaka's Cube
Our beloved Robi Kaka has invented a cube. You have to solve only one side of this cube – a square o...
Spreadsheet v1
Are you trying to find a problem that is easy to solve? Even if it involves writing a lot of code? T...
Maximum Distance
You know it’s hard seeing your favorite person being interested in another one instead of you. At th...
Another String Query Problem
This time I'm going to introduce you to a new land, called String Land. In String Land there are N ...
Battle of Endor
After myriad battles and death of million rebel soldiers, it is high time to destroy the imperial ar...
Thanos VS Power Stone
Who doesn't know about thanos the genius mad titan, who waste his life acquiring the infinity stones...
The Young Great Wizard of UTA
Once upon a time, two orphan boys fought to become the king of two countries. These two orphans were...
Secret Sorting Order
You will be given a list of words which were sorted based on some unknown ordering among the letters...
Yet Another Hello World
The greatest company, Pied Piper, is developing encryption systems. The company has already built Md...
Killing Floor
$N (1 \leq N \leq 10^{18})$ robots have decided to take part on a battle royale. Every robot has a u...
Grasshopper and The Ant
In a field one summer's day a grasshopper is hopping about and is coding to its heart's content for ...
K-th DuoPalindrome
Alice likes playing with Palindromes (strings that read the same backward as forward, such as 'madam...
Graph Stuff
You will be given a tree with n node numbered 1 to n with weighted edge. You will be asked q queries...
Toph uses cookies. By continuing you agree to our Cookie Policy.