GATEverse Practice, past papers & mock tests
GATE 2014 · session-1
AlgorithmsAlgorithm Analysis and Asymptotic NotationsmediumMCQ2 marks
Consider the following pseudo code. What is the total number of multiplications to be performed? D = 2 for i = 1 to n do for j = i to n do for k = j + 1 to n do D = D * 3
Save your progress

Related Algorithms PYQs