employer cover photo
employer logo

Sollicitatievraag bij VMware

Write a function that takes a binary tree as input, and have it perform in order traversal.

Antwoord op sollicitatievraag

Anoniem

10 mrt 2011

void inOrder(node* aNode) { if(aNode->iLeft) { inOrder(aNode->iLeft); } cout iRight) { inOrder(aNode->iRight); } }

1