📌 置頂: 請把任何比你弱勢的用路人當作你的至親對待。跟前車保持安全車距 (2秒以上)。

LaTex Big O notation 速記

In

Tags:



by

這邊整理一下在 LaTex 裏面如果要使用到 Big-O notation 的話要怎麼使用。

[latex]$\mathcal{O}(1)$[/latex]

[latex]$\mathcal{O}(\log{} n)$[/latex]

[latex]$\mathcal{O}(n)$[/latex]

[latex]$\mathcal{O}(n\log{}n)$[/latex]

[latex]$\mathcal{O}(n^2)$[/latex]

[latex]$\mathcal{O}(2^n)$[/latex]

[latex]$\mathcal{O}(n!)$[/latex]


Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.