You are viewing a single comment's thread. Return to all comments →
Can Someone help me here , In the solution, StackNode is used but does it takes auxiliary space ? I mean what is the space complexity ? is it O(1) ?
Seems like cookies are disabled on this browser, please enable them to open this website
Maximum Element
You are viewing a single comment's thread. Return to all comments →
Can Someone help me here , In the solution, StackNode is used but does it takes auxiliary space ? I mean what is the space complexity ? is it O(1) ?