Honeywell interview question

Code to add node to a binary tree