Codingforinterviews mail solutions: binary trees