Grokking the Coding Interview: Patterns for Coding Questions
Ask Author
Back to course home

0% completed

Vote For New Content
The problem specification doesn't clarify that this is a *complete* tree... whic...

Pete Stenger

Aug 19, 2022

The problem specification doesn't clarify that this is a complete tree... which has the level property you are relying on for the size of each level.

0

0

Comments
Comments
Design Gurus
Design Gurus3 years ago

There is no requirement of a complete tree. The solution should work for all binary trees.

P
Pete Stenger3 years ago

I see, thank you.

On this page