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.
Generally, you are never asked to use a data structure in particular, rather they might design the problem in such a way that u will need a specific data structure.
Similar things is with this problem, they have mentioned "Stack", but you don't need them
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Equal Stacks
You are viewing a single comment's thread. Return to all comments →
Generally, you are never asked to use a data structure in particular, rather they might design the problem in such a way that u will need a specific data structure.
Similar things is with this problem, they have mentioned "Stack", but you don't need them