|
|
|
|
|
by Jasper_
474 days ago
|
|
Has anybody ever figured out what "invert a binary tree" means? That came from Max Howell, and nobody else seems to have ever received that question. The best anyone can figure out is that it's reversing the left and right branches, which seems like it's ten lines of code, at most? |
|
[0] https://leetcode.com/problems/invert-binary-tree/description...
[1] https://x.com/mxcl/status/608682016205344768