ctci
ctci copied to clipboard
4.9 question wording is confusing
The question states that "The path does not need to start or end at the root or a leaf but must in a straight line down"
So is left-left-right a valid path ? I would think it is a not a straight path when drawn on a binary tree. I am not sure what could be a good way to describe it without using the phrase "straight line" but this phrase is surely confusing. At least the solution should contain a diagram which clears this ambiguity.