I want to write a function to print all the elment in a binomial tree level by level, that means, first print the element in depth 0 and then depth 1, and so on..
but I had a problem that there may be no relationship between the nodes which are at the same depth (e.g. the red circle in the picture). So, how could I print them? Plz give me a method, thx a lot!