Broadcom interview question

how to write binary tree in C