O(1) is constant(adsbygoogle = window.adsbygoogle || []).push({});

O(log n to the base 2) is logarithmic

O(n) linear

how would you prove that constant is a subset of logartihmic?

**Physics Forums | Science Articles, Homework Help, Discussion**

Dismiss Notice

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Big oh

**Physics Forums | Science Articles, Homework Help, Discussion**