Files
developer-roadmap/roadmaps/computer-science/content/constant@3F_QBv_sU39ehOxpurF88.md

492 B

Constant

Constant time, written O(1), means an operation takes the same amount of time regardless of input size. Accessing an array element by index or reading a value from a hash table are typical examples, since neither depends on how much data the structure holds.

Visit the following resources to learn more: