ET commented on the post, Binary Tree Post-Order Traversal Iterative Solution 9 months, 4 weeks ago
For the two stack solution. I think this step is reversed.
3) Then push its left child followed by its right child to the first stack.
It should be push it right child followed by its left child.
- ET in the forum topic Longest Substring Without Repeating Characters *Test Case* in the group General Help
Sorry about it. I am an idiot.
ET started the forum topic Longest Substring Without Repeating Characters *Test Case* in the group General Help 10 months, 1 week ago
It the expect result on the large test case wrong?
For example the 2nd case:
expect 12, but actually is 10. Counted by hand
- 1 person likes this.