4 ms·
It's a badly written post. That's what you're missing. In the first example, author didn't even indicate what the loop invariant is in the code, before moving
by fizixer 8y ago
It's a badly written post. That's what you're missing.
In the first example, author didn't even indicate what the loop invariant is in the code, before moving on to a second example.