You are viewing a single comment's thread. Return to all comments →
Thanks for the very nice approach. Few implementation notes:
-Check for no-plants-die case.
-For each day first pop the top elements and then check for merging instead check for merging in the beginning of the day.
Seems like cookies are disabled on this browser, please enable them to open this website
Poisonous Plants
You are viewing a single comment's thread. Return to all comments →
Thanks for the very nice approach. Few implementation notes:
-Check for no-plants-die case.
-For each day first pop the top elements and then check for merging instead check for merging in the beginning of the day.