Uber Interview Question

Code the algorithm of K-means clustring from scratch