Goldman Sachs Interview Question

algorithm to traverse binary tree

Interview Answers

Anonymous

Sep 23, 2010

Depth First Search or Breadth First Search are the most common traversal algorithms.

2

Anonymous

Oct 2, 2017

Preorder, inorder and postorder