Pergunta de entrevista da empresa Adobe

Whiteboard coding question - k-means algorithm Find errors in the JavaScript