The Matrix
In the metaphysical world of the Matrix, different people make their chessboards with their own spec...
Easy But Easy Game
Alice and Bob are playing a game on a string s of length n consisting of characters ‘0’ and ‘1’. The...
Reverse Hash
Binary strings are strings that can only have 0 or 1 as the characters. The hash value of a string i...
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 ...
Object Detection
Object detection is a computer vision technique that is used to identify and locate objects in an im...
Hashing
Shreas has created a new revolutionary hashing function that calculates hash values of graphs. For a...
Binary Rhodium
Xenon is a great alchemist. Recently, he has decided to perform a special type of transmutation. But...
Upside-Down
In this problem, you are given a tetrahedron in 3-dimensional space. A tetrahedron is defined as “a ...
This Is Business
“Why brother why…?” “This is Business …” You have started a cupcake factory where two types of cupca...
Locality-Sensitive Hashing I
According to Wikipedia, Locality-Sensitive hashing (LSH) is an algorithmic technique that hashes sim...
Division
Dhoni has a field divided into n×m squares of the same area. The amount of rice at each square will ...
Nothing Is Absolute, Everything Is Relative!
You are given an integer array, A[] of size N, and an integer M. Then you have to perform a total of...
Unfair Contest
There is a company that is very famous for arranging unfair contests. They are arranging a new weird...
Distinct List
Byteland has a network of n computers that forms a tree structure. A tree is a connected graph that ...
shefin Moderate 4/6/6
Fight Club Restored
The things you own, end up owning you. It’s only after we’ve lost everything that we’re free to do a...
Rina Loves Shopping
Rina loves discounts. Whenever she gets a chance, she goes shopping and looks for the discount offer...
Points
You will be given two-dimensional coordinates (x,y) of N points. Your task is to identify K points f...
A Dog Ate My Homework
Leonhard’s math teacher loves prime numbers. As homework, the teacher gave Leonhard a number n, told...
Invite the Heroes
There are n cities numbered from 1 to n in a country. Two consecutive cities are connected by a bidi...
Hirak Rajar Desh
Hirak Raja, the king of the country “Hirak Rajar Desh”, the conqueror ultimate, wanted to expand his...
Expansion
The use of the central road in Utopia’s capital has increased by a great value in recent years. So, ...
reborn Moderate 3/7/11
Crypto Gift
Professor invites his n friends on his birthday. He wants to reward all of them and make them happy....
Puzzle of 1's and 0's
There is a rectangular puzzle board containing N×Mnumber of places. Each place contains a number: ei...
Perhaps Strings Are Inevitable
Strings are inevitable in life. They give meaning to our expressions. Strings come in life in many w...
Hasinur_ Moderate 5/6/32
Permutation Query
An array of integers p1​,p2​,....,pn​ is called a permutation if it contains each number from 1 to n...
Toph uses cookies. By continuing you agree to our Cookie Policy.