When people explain Theta notation, they just start talking about a function T(n) without explaining what it is. Is it just a given function?
Why is it Theta(f(n)) instead of Theta(n)? Where did the f(n) come from? f(n) is usually a given function, then what is T(n)? Are they both? This is also not commonly explained.
All the explanations I find are all explained mathematically, but with consistent failure properly define things, and instead just start talking about things out of the blue.
Thanks, - A confused student