Nearest neighbor search ; Sample code AND Sample code
Common descendants