Say we have a list of [1, 2, 3, 4, 5]. How do you calculate the worst or best case scenario?
[1, 2, 3, 4, 5]
I thought it was the amount of elements (5) squared, so 25 w