Amazon interview question

All Nodes Distance K in Binary Tree