5.Asymptotic Notations and Basic Efficiency Classes
{"name":"5.Asymptotic Notations and Basic Efficiency Classes", "url":"https://www.quiz-maker.com/Q22EABPI","txt":"\"What is the time complexity of fun()? int fun(int n) { int count = 0; for (int i = 0; i 0; j--) count = count + 1; return count; } \", \"What is time complexity of fun()? int fun(int n) { int count = 0; for (int i = n; i > 0; i \/= 2) for (int j = 0; j < i; j++) count += 1; return count; }\", What is the asymptotic runtime for traversing all nodes in a binary search tree with n nodes and printing them in order?","img":"https://www.quiz-maker.com/3012/images/ogquiz.png"}