Why is this youtuber applying comparing two functions with O(n^2), by applying a contant to one of the functions?
Look up the definition of big-O. It states that $f=O(g)\iff \exists c&gt;0:\exists n_0\in\mathbb{N}:\forall n&gt;n_0:f(n)\le cg(n)$