| Approach | Notes |
|---|---|
| Pure Python (no numpy) | Simpler to reason about but significantly slower for large datasets; not preferred by interviewers who explicitly test for vectorization. |
| Random centroid initialization (K-Means++) | Better convergence properties in practice, but the interview specifies using the first k points as initial centroids, so this may be out of scope unless asked. |