PTC interview question

print longest path in a binary tree