Salesforce interview question

Perform a level-order traversal.