A9.com interview question

Implement the k means algorithm