> But to be more specific we could say this is worst case O(n) and best case O(1) runtime.
Those should really say θ(n) and θ(1).
Those should really say θ(n) and θ(1).
Theta is the notation for a single case, be it the worst case, the best case, one run of a randomized algo, etc.
At least that is my understanding.