Beginners Weekly Competition 2

Note: This competition is specifically for beginners from IIT Roorkee.

We encourage you to post writeups.
Here is a guide for the same.