list is a data dtructure. this is a data structure type implemantation and it is implemented in C prgramming language. General header contains pointer to object so list.c in c is implemented in generic way.
nearest neighbour clustering is an algoithm that puts data in categories. This algotithm is a data mining subject. Similar data is put in the same cluster.