A. Static TreeYou are given a tree containing N vertices. The vertices are numbered from 1 to N. A tree with N ver...

B. MaxXORYou are given an array A of n integers (A1, A2 , … , An) and some queries. In each query, you will b...

C. Dynamic TreeYou are given a tree containing N vertices. The vertices are numbered from 1 to N. A tree with N ver...

D. Make Strings Great Again!Do you know what is a subsequence? A subsequence is a sequence that can be derived from another se...

E. String GameYou have a list of N strings, denoted by A1, A2, …, AN. Each string consists of lowercase English le...

F. Keep Away From Those OceansWe all know the great story of the Ant and the Grasshopper. Clever Ant survived the tough time of wi...

G. Birthday of AliensOn the planet of Royal Royal, a university named Royal University of Engineering and Technology exis...

H. MonoMonoYou have probably heard of the famous board game, Monopoly. According to Wikipedia, in this game, pl...

I. Composite FactsLet’s define two functions F and S: F(n) = 1 + n! S(n,m) = Sum of first m nonprime integers which ...

J. Roll the DiceYou have got a 6 sided dice. In a single roll, it may show any integers from 1 to 6. You are going t...

K. Wheel GraphToday we will learn about a special type of graph called Wheel Graph. In the mathematical discipline...
