Let's say we have two "Big-Oh" sets called $\text{Constant}$ and $\text{Logarithmic}$, such that one has $O(1)$, and the other has $O\big(\log(n)\big)$, respectively, how would I show that $\text{Constant} \subseteq \text{Logarithmic}$?
Asked
Active
Viewed 1,075 times
2 Answers
4
Higher order set contains lower order set. In your case $\lim \limits_{n\rightarrow \infty}\frac{\log n}{1}=\infty.$
Sunni
- 4,536