Pregunta:
Why is the bubble sort algorithm a time complexity of n^2
Autor: Will ParkerRespuesta:
Becasue it conatins a nested loop The outer loop is done n times And the inner loop done approximatly n^2 times
0 / 5 (0 calificaciones)
1 answer(s) in total
Autor
Will Parker