A.
Counting Friends Johnny uses a social network called Supernova. Unlike the other social networks, Supernova does not ... |
B.
Powerful Number Efa loves numbers. She thinks a number is powerful if it can be expressed in the form xy where x and... |
C.
Subtree MEX You will be given a balanced binary tree of N nodes. Each of the nodes of the tree will contain a no... |
D.
Divisible LCM You have a sequence a1, a2, a3, …, an of n integers and q queries. In each query, you are given ... |
E.
Nilkhet You’re planning to start a library for the next n days, where you will rent books to students. Each ... |