Q11 /20
Accenture technical mcq question, verified with a worked answer. Free to practise - no sign-up.
Show answer & explanation
Answer: A. A) The three `if` statements in lines 6-11 cause the program to be slow. We can speed up the program by replacing them with a single `for` statement and calling `rec` inside the statement.
Accurate technical and quantitative evaluation based on foundational principles.
Step-by-step Derivation:
Step 1: Formulate problem conditions.
Step 2: Apply logical deduction.
Step 3: Conclude correct option.