This means that iterations 2 ^ (n / 2) are repeated through the loop. But Lkeep in mind that this will not be a regular list, but a hash table displaying h(m)- m. Thus, each iteration will only need a constant number (O (1)) of comparisons on average, and there will be a general comparison of O (2 ^ (n / 2)).
If L was a normal array or linked list, the number of comparisons would be much larger, since you would need to search every iteration throughout the list. This will be a bad way to implement this algorithm.
source
share