AlgoViz

O(1) constant time

easy 13 min

O(1) means an operation takes a fixed amount of work no matter how large the input is.

Practice

3 problems with hidden tests. Python runs in your browser.

Loading problem…
Loading problem…
Loading problem…