the are some algorithms to find the LCA of a given pair of nodes. but is there any algorithm to find the LCA of all pair of nodes in a binary tree in asymptotic time of less