AQA Decision 1 2.01c Bubble Sort: worst case scenario (complete reverse order)

preview_player
Показать описание


Комментарии
Автор

In these examples you go until there is 1 comparison, in the exam do you always need to show a pass with 0 swaps?

duncansmith
Автор

In these examples u go until 1 comparison in the exam do we go up to 0 like your previous video or can we leave it as 1 swap

kevjev.
Автор

Can i use the n-1 equation thing for comparisons in ascending order too?

femce
Автор

I'm trying to figure out how 1/2n(n-1) = Θ(n²)
If you can help me to understand that I would so appreciate it.

lukos