ParentFull threadfragmede·This is O(n) because you're still doing the i < size comparison, even though you've moved it out of the for loop.View on HN