Add Q2 answer

Please review, thanks!
Also, I tried to fully conform to the style guide, please let me know if there's anything I'm missing.
When return value is node, const has to be removed to avoid compiler warning.  It seems not be able to use const and return node at the same time.