Optiver interview question

Binary tree traversal and process level by level