Akshay Joshi's submission of Maximum Weight Difference | CodeChef