Pregunta:
Why for bubble sort is the number of iterations of the inner loop not exactly n^2
Autor: Will ParkerRespuesta:
Inner loop iterates (n-1)(n-1) times So the inner loop iterates n^2 -2n +1 times
0 / 5 (0 calificaciones)
1 answer(s) in total
Autor
Will Parker