Optimal Parallel Algorithms for Dendrogram Computation and Single-Linkage Clustering (Proceedings of the 36th ACM Symposium on Parallelism in Algorithms and Architectures)