Question

Consider a function foo(n) that calls foo(n-1) and foo(n-2). This pattern of calls is best visualized using a:

A Linear sequence
B Flat list
C Call tree
D Hash map
E Stack only
Practice Next

Hey! Ask a query

🎓
Think You're Ready for RBI Grade B?
RBI Grade B 2026 Phase 1 Memory Based Paper
  • 200 Questions with Detailed Solutions
  • Section-wise Coverage (GA, English, Quant & Reasoning)