Pergunta de entrevista da empresa Huawei Technologies

How to write a k-means algorithm