Devansh Bajpai's submission of Beautiful Arrays | CodeChef