Winter Vacation

Adarsh and Saurabh are playing a Game in Winter Vacation. The game consists of \(N\) piles where each pile has some \(P_i\) marbles. At each step one player can search for pile with minimum number of marbles and removes it and all elements present to its right from list.

Read More