How many times does the first for loop in bubble sort execute?
1
Exactly!
The first for loop in bubble sort executes the length of the list minus 1.