I have read the statement of Law of iterated logarithm is like for some random variable $Y_i$ $$\lim\sup_{n\rightarrow\infty}\frac{\sum_{i=1}^nY_i}{\sqrt{2\log\log n}}=1\ a.s.$$
But I have also found another version using big O notation like $$\sum_{i=1}^nY_i=O((\log\log n)^{1/2})$$
Can someone tell me the relation between these two equations? It's for me not easy to understand from Definitions, since there is no limsup in Definition for big O
Thanks a lot for any hints