You are viewing a single comment's thread. Return to all comments →
I used the same logic using deque, but never thought of using "index" function in such a way. Amazing.
Equal Stacks
You are viewing a single comment's thread. Return to all comments →
I used the same logic using deque, but never thought of using "index" function in such a way. Amazing.