-2

Joel and Henry are playing a game. They have N balls numbered from 0 to N−1.
Henry asks Joel to reverse the position of the balls, i.e., to change the order from say, 0,1,2,3 to 3,2,1,0. He further asks Joel to reverse the position of the balls N times, each time starting from one position furth...