Is dit jouw bedrijf?
Find the max value in a binary tree, but do it iteratively.
Anoniem
I used BFS here, I had a queue that pushed the head if it was not null and then continued to do that for each left and right node using a while loop.
Volg de bedrijven van je dromen om als eerste op de hoogte te zijn van vacatures en te profiteren van tips van insiders.
Zoek naar vacatures om gepersonaliseerde vacature-aanbevelingen en -updates te krijgen.