Beginners Weekly Competition 3

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

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