Big O Notation

Nabil Tharwat - Jun 21 - - Dev Community

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).

. . . . . . . . . .