Back to the 2025 paper
Similar questions
Design and Analysis of Algorithms Which of the following best describes space complexity? (i) Time taken by the algorithm (ii) Memory required to run an algorithm (iii) Number of recursive calls (iv) Number of loops used20242mDesign and Analysis of Algorithms In algorithm analysis, what does "space complexity" refer to? (i) The number of input elements (ii) The amount of physical memory used (iii) The number of recursive calls (iv) The number of lines of code in the algorithm20232mDesign & Analysis of AlgorithmsWrite time function and calculate the time complexity, space complexity and number of function calls of the following pseudocode using substitution method: ``c rec(n) { if (n <= 1) return(1); else { rec(n / 2); for (i = 1; i <= n; i++) printf("algorithm"); } } ``20227mSoftware EngineeringWhat is cyclomatic complexity? How is it computed? Calculate cyclomatic complexity for the program to find the smallest of three numbers.20217m