More questions that can be solved with this approach

this is a nice approach to solve this problem but we can’t this this by ourselves if we encounter any other problem which can be solved with this approach.

please suggest some questions or type of ques which can be solved with this approach.

It is difficult to find questions exactly on this concept. This was an implementation type question.
How ever you can practice different types of Stacks based questions from Leetcode.

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.