Optiver Interview Question

Binary tree traversal and process level by level