Counting Friends
Johnny uses a social network called Supernova. Unlike the other social networks, Supernova does not ...
Expandable ListView
Minas is working on his new language. He want to add a feature call expandable listview. Here he exp...
So Long
As all people know ICPC can be very dull sometimes for people other than contestants. Jodu, Modu, an...
Palindrome Query I
You are given a string of length L. You have Q queries. In each query, you will be asked to either u...
Big Tang Theory
Shell Don (Shelly in short) is a theoretical physicist who is claimed to be highly intelligent with ...
Rio and Inversion
One day Rio was returning home from his university and unfortunately lost his phone on the way. He a...
Count the Chaos
Imagine, you have an array of integers of size N. At each index of this array is a unique integer fr...
Hamming Distance
Hamming distance between two binary strings of equal length is the number of mismatches between ever...
Social Distancing
The country of KhoaNali is structured as a giant road with N buildings on both sides, the northern b...
Subarray Sum
You are given an array having N integers. You have to select at most K positions in the array and re...
Bored??
"Avoid touching your face, particularly your eyes, nose or mouth to prevent the virus from entering ...
Memes vs. Social Media
In this era of modern technology social media is the most powerful weapon and the viral issue is the...
GCD and Sum
Congratulations! You’ve been hired in “Buggy Software Ltd.” And you’ve been already given your first...
Sofdor Ali and Bracket Sequence
Sofdor Ali has invented a new game. He asked his assistant Jong Bahadur ( who happens to be a monkey...
Explosion
There is a house named Larcana. It is a very weird house. There are exactly N rooms in total and bet...
Static Tree
You are given a tree containing N vertices. The vertices are numbered from 1 to N. A tree with N ver...
Do You Know Tree ?
"Stay at least one metre distance from others.” Corona has affected the World as well as Bangladesh....
Cut the Rope
Fahim is a rope seller. He has a special tool for cutting ropes. But recently this tool is behaving ...
Composite Facts
Let's define two functions F and S: F(n) = 1 + n! S(n,m) = Sum of first m non-prime integers which ...
Byang and War Tactics
Byang is learning about War Tactics from Raat, a famous martial arts master, who has successfully tr...
Data Structure
The operations that are performed in a data structure can be categorized into two types: query and u...
Device ID
A device ID is a distinct number associated with a smartphone or similar handheld device. Every smar...
Perseus and The New Challenge
The life of princess Andromeda, the daughter of King Cepheus and Queen Cassiopeia of Ados, is in dan...
Another Query on String
You are given a string S (of length n) consisting of alphabets only. You need to perform m queries o...
Hide and Seek
You know how to play hide-and-seek, right? In a group of kids, one of them is selected to be the see...
Toph uses cookies. By continuing you agree to our Cookie Policy.