Frage im Vorstellungsgespräch bei Adobe

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