Goldman Sachs interview question

algorithm to traverse binary tree

Interview Answers

Anonymous

23 Sept 2010

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

2

Anonymous

2 Oct 2017

Preorder, inorder and postorder