4 ms·
Couldn't agree more, every time I'm asked to invert a binary tree in an interview I wonder exactly what kinds of problems this company is actually solving. Lik
by fleitz 11y ago
Couldn't agree more, every time I'm asked to invert a binary tree in an interview I wonder exactly what kinds of problems this company is actually solving.
Like do they not have a general algorithm for this in a library?
Are they looking for more efficient ways of inverting trees?