Pergunta de entrevista da empresa Dentsu

Explain K-means algo and also code it.