5 ms·
Teaching Kids Programming – Invert a Binary Tree Using Recursion
- gus_massa 6y agoI'll call it `reverse` instead of `invert`, but I'm not sure which is the official name. Can the kids program in a computer? This looks like a too difficult task. (I had to think for a while to be sure it is O(N).)