find distance from root to given node in a binary tree

join shbcf.ru