O(n log n) vs. O(n^2): The Speed Difference

By avoiding pairwise distance computations, Isolation Forest achieves a linear time complexity of O(n log n), significantly faster than the O(n²) complexity of many distance-based algorithms.

Sources

Open the full topic