Home > latex, Uncategorized > Big O notation in latex

Big O notation in latex

There are two possible ways to type the big O:

1. $O(n\log{}n)$ % regular O
$\mathcal{O}(n\log{}n)$ % Open at top left
Ref: http://texblog.org/2014/06/24/big-o-and-related-notations-in-latex/