DEV Community

Cover image for Big O Notation
Nabil Tharwat
Nabil Tharwat

Posted on

Big O Notation

This is a submission for DEV Computer Science Challenge v24.06.12: One Byte Explainer.

Explainer

Big O describes the efficiency of the worst case scenario of an algorithm. It helps categorize algorithms, but isn't accurate to describe real performance. An algorithm that does constant time O(1) may be slower due to complexity than a linear one O(N).

Top comments (0)