Hello,
When I read the solution of 9.10 of v1.4.11, I have a question about the “continue” clause under the if(!curr) statement. Using this continue, the program bypassed the nullptr elements in the precessing_nodes, but also bypassed the “cout << endl” in the depth level checking section. Then, the format of the output could be wrong, if at a certain depth, the last possible node is empty (such as depth 4 in figure 10.1). Did I understand this correctly?
Thank you
-Wuyang