What is a loop invariant?
What will be an ideal response?
A loop invariant is a condition that is true before and after each execution of an algorithm’s loop.
Computer Science & Information Technology
What will be an ideal response?
A loop invariant is a condition that is true before and after each execution of an algorithm’s loop.