ctci icon indicating copy to clipboard operation
ctci copied to clipboard

4.9 question wording is confusing

Open akshar100 opened this issue 10 years ago • 0 comments

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.

akshar100 avatar Feb 02 '15 04:02 akshar100