4 ms·
My understanding is that from a purely theoretical point of view you can call the operations Θ(1), but not O(1) -- since the worst case must account for the pat
by hhmc 7y ago
My understanding is that from a purely theoretical point of view you can call the operations Θ(1), but not O(1) -- since the worst case must account for the pathological case.
- Yessing 7y agoby definition Θ(1) implies O(1). A sandwich means you have a slice of bread on the upper side.