I Don't Want to Hire You If You Can't Reverse a Binary Tree (2016)(thecodebarbarian.com)
thecodebarbarian.com
I Don't Want to Hire You If You Can't Reverse a Binary Tree (2016)
http://thecodebarbarian.com/i-dont-want-to-hire-you-if-you-cant-reverse-a-binary-tree
3 comments
Just traverse the tree forwards and backwards simultaneously and match the moves. I hate peevish interviewers. If you want to show off, write a paper.
I don't think this hiring methodology is good. Just look at all of the negative comments on the post itself! Many of them make good points.