Several prominent anomaly detection and clustering algorithms, including k-Nearest Neighbors (k-NN), Local Outlier Factor (LOF), and DBSCAN, inherently rely on these O(n²) pairwise distance computations to find neighbors or estimate density.
Open the full topic