We are about to switch to a new forum software. Until then we have removed the registration on this forum.
The current algorithm is such a mess and it's not giving the right answers.
It supposed to check for each type of candy, for at least 3 consecutive candy type it will "break".
May I know a simple or at least a source algorithm for that purpose.
Thanks in advance :D