EkupaiHacker robot Ekupai is trying to hack a supercomputer. He needs a cheat code X to hack this computer...

Sgt. LaughThat’s it. Sgt. Laugh has had enough. He is determined to end the evil military reign of General Cry...

Video Game ProShefin is playing a video game. In this game, there will be N buildings in a row. i^{th} building ha...

Unique ReliefThanos has now figured out how to visit all the houses in the floodaffected area. However, now he h...

Array PartitionToday Leena learnt about subarrays and partitions. Given an array A, a subarray of this array is a p...

LIDSWe all know about LIS ( Longest Increasing Sub sequence). The task to find the length of the longest...

A Journey Towards OneGiven N. You can perform 3 types of operations: Increase N by 1. Decrease N by 1. Divide N by 2 (On...

Easy Sequence 1Let’s define an easy sequence F. Where F(1) = 1 F(2X) = F(X)^2 + 1 F(2X+1) = F(X) \times F(X+1) + 2 ...

Interesting Pile GameTurja and Akash are playing an interesting game. Initially a pile of N stones is given to them. Each...

Paranoid TradingYou have been newly appointed as the accountant of Michael Corleone  the famous mafia boss. Your ta...

The Perfect CollectionGiven an array A of N integers, if we choose any K of these integers and calculate their bitwise XOR...

Dominoes ForeverOnce when I was little, my father took me to a tobacco shop! It is surprising, but true. He asked th...

Convert String Into PalindromeA palindrome is a word, number, phrase, or other sequence of characters which reads the same backwar...

MSIS!Do you know what MSIS is? MSIS is the abbreviation for Maximum Sum Increasing Subsequence. It is a s...

Polygon Construction (Hard)Meera in going to picnic with her friends. They are going to have lots of fun. They will be doing va...

Third DimensionMr. J wants to learn about combinatorics. He started reading a book on combinatorics and came across...

No GCDYou are given N integers. Each integer is square free (i.e. it has no divisor which is a square numb...

OCD Returns!This problem author has OCD (obsessive–compulsive disorder). One day his teacher gave him an array o...

Easy Sequence 2Let’s define a easy sequence F. Where F(1) = 1 F(2X) = F(X)^2 + 1 F(2X+1) = F(X) \times F(X+1) + 2 H...

The Game of RocksAlice and Bob have come up with a new game. Bob gives Alice a NxM grid that contains N rows and M co...
