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.
Couldn't figure out why I needed to check if my stack was empty at the end. This case shows why. Thanks for the example, helped me understand the solution. Cheers.
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Balanced Brackets
You are viewing a single comment's thread. Return to all comments →
Couldn't figure out why I needed to check if my stack was empty at the end. This case shows why. Thanks for the example, helped me understand the solution. Cheers.