• + 1 comment

    If im not mistaken the complexity of the method contains is O (N).