I learned in my Algorithmics course that that :
$f(n) \in O(g(n))$ can be written as $f(n) \leq cg(n)$. My confusion is about what $c$ is. Is it a constant that can be any value? Is it a constant that can be changed depending on which value of $f(n)$ or is it a value that must make the inequality hold true for every f(n) and g(n).