• + 3 comments

    The loop is O(n) + O(log(n))sorting...