We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
thank you for sharing your approach, it indeed is a very good approach, the number of stacks might be a problem but it still works for almost all the cases but getting this kind of idea is cool.
Cookie support is required to access HackerRank
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 →
thank you for sharing your approach, it indeed is a very good approach, the number of stacks might be a problem but it still works for almost all the cases but getting this kind of idea is cool.