Bubble sorting program

What is iteration ? What’s n-1-itr (time is 5:45)?

hi @vanshikasharma1645 number of iterations means the number of times a process is repeated. In this case “in each iteration” means, that “each time the for loop is executed”.

@vanshikasharma1645 n-1-itr is just a numerical value.?
n = total number of elements in array
itr = looping variable

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.