Prateek Jhunjhunwala's submission of A Linear Solution | CodeChef