Comment

Comment by DannoHung

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?

parent DannoHung 11 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton