Domanda di colloquio di F5

Print out a binary tree by level

Risposta di colloquio

Anonimo

23 gen 2015

Use an aux queue, insert the root node, then iterate over the queue, while inserting the leaves.