- Gyanastra
- Data Structures
- Recursion and the Call Stack
Data Structures
Recursion and the Call Stack: lessons and notes
8 lessons on recursion and the call stack for GATE CSE, ISRO and UGC NET. Read the first two lessons free, right here; the rest of the chapter is for signed-in learners. Each lesson shows the exam years that asked it and ends with practice questions.
- 1Tracing Recursion with the Stack and Activation Records4 min read · Asked in past papers: GATE 2026, 2025, 2024, 2020, 2018, 2017, 2016, 2015, 2014, 2013, 2008, 2007, 2004, 1999; ISRO 2020, 2018, 2017, 2011, 2008, 2007; UGC NET 2020, 2018, 2017, 2016, 2015, 2014, 2013, 2009, 2007.Read free
- 2Instruction Pointer and Resuming After a Recursive Call7 min read · Asked in past papers: GATE 2017; UGC NET 2017.Read free
- 3Tracing Recursion with the Tree Method6 min read · Asked in past papers: GATE 2011; UGC NET 2013.Free account
- 4Tree Method for a Function with Printf Before and After the Recursive Call5 min read · Asked in past papers: GATE 2024, 2017; ISRO 2007; UGC NET 2018.Free account
- 5Tree Method for Two Recursive Calls with Printf in Between7 min read · Asked in past papers: GATE 2015, 2002, 2001.Pass
- 6Counting Function Calls and Time Complexity of a Recursive Function4 min read · Asked in past papers: GATE 2026, 2021, 2018, 2016, 2014, 2007, 2005, 2004, 1999, 1997, 1994, 1991; ISRO 2020, 2015, 2014; UGC NET 2015, 2013, 2011.Pass
- 7Forming and Solving the Recurrence Relation by Back Substitution7 min read · Asked in past papers: GATE 2026; ISRO 2020; UGC NET 2020, 2018, 2017.Pass
- 8Speed tips and shortcuts4 min readPass