Will the complexity of the function be $\Theta n^{2} or \Theta n^{3}?$
Ashwani Kumar 2 What if there was no else part? Will then the answer be θ($n^{3}$)?
64.3k questions
77.9k answers
244k comments
80.0k users