Pergunta de entrevista da empresa Amazon

There multiple variations of Binary Tree traversal including normal methods like in-order, post-order, then more complex methods like skipping alternate nodes and levels. Final question was to display the binary tree in a zig-zag pattern.

Resposta da entrevista

Sigiloso

14 de abr. de 2021

Initial parts were quite easy and I was able to answer the question relatively straightforward. After the more complex variations we had a back and forth of discussion and me providing solutions and answers in the form of code.