You are viewing a single comment's thread. Return to all comments →
To handle cases like the following:
5 4 3 2 1
Somehow, the algorithm must be 'smart' enough to know that the leftmost child will have five pieces of candy.
Seems like cookies are disabled on this browser, please enable them to open this website
Candies
You are viewing a single comment's thread. Return to all comments →
To handle cases like the following:
5 4 3 2 1
Somehow, the algorithm must be 'smart' enough to know that the leftmost child will have five pieces of candy.