You are viewing a single comment's thread. Return to all comments →
What's the reason for doing this:
height[i] -= stack[i][index[i]++];
Why are you doing index[i]++, instead of just index[i]?
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 →
What's the reason for doing this:
height[i] -= stack[i][index[i]++];
Why are you doing index[i]++, instead of just index[i]?