geeksforgeeks problem of the day solution