Sollicitatievraag bij Meta

Make a binary tree in order iterator

Antwoord op sollicitatievraag

Anoniem

8 okt 2016

Use a stack, each point add left node till you see a null, at each pop, add the right node of the popped node and recurse left.