Comment by DannoHung
11 years ago
I was gonna say, who calls reversing a tree's ordering inverting?
> Oddly enough, Google shows me interview questions where "inverting a binary tree" means something quite different — for example, flipping it upside down, and making the left leaf the root, the right leaf the left leaf and the root the right leaf.
Whaaaaa? I can't find this, but it seems like such a weird operation. Got a link?
>I was gonna say, who calls reversing a tree's ordering inverting?
The guy writing the tweet (not necessarily the interviewer).
> Whaaaaa? I can't find this, but it seems like such a weird operation. Got a link?
https://wwwx.cs.unc.edu/~duozhao/entry/2014/12/binary-tree-u...