Skip to content

This Repository contains DS related Questions and answers.

Notifications You must be signed in to change notification settings

sarathrajan922/DataStructure

Repository files navigation

Big-O Guide
------------
Calculation not dependent on input size — O(1)
1 loop — O(n)
2 nested loops — O(n^2)
Input size reduced by half— O(logn)