- Gyanastra
- Data Structures
- Binary Trees and Traversals
Data Structures
Binary Trees and Traversals: lessons and notes
16 lessons on binary trees and traversals 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.
- 1Introduction to Binary Trees and Traversing vs Searching4 min read · Asked in past papers: GATE 2025, 2024, 2019, 2015, 2010, 2008, 2007, 2006, 2005, 2002, 1998, 1995, 1994; ISRO 2020, 2017, 2013, 2009; UGC NET 2018, 2017, 2016, 2013, 2012, 2010, 2009.Read free
- 2Inorder, Preorder and Postorder Traversal Definitions5 min read · Asked in past papers: GATE 2024, 2020, 2018, 2017, 2014, 2013, 2008, 2007, 2005, 2004, 2003, 2000, 1998, 1997, 1996, 1991, 1989, 1987; ISRO 2020, 2018, 2011; UGC NET 2022, 2017, 2015, 2013, 2012, 2011, 2006.Read free
- 3Shortcut Walk Method for Tree Traversals4 min read · Asked in past papers: GATE 2019, 2018, 2017, 1998; ISRO 2011; UGC NET 2022, 2015, 2011.Free account
- 4First, Second and Third Visit Rule for Preorder, Inorder and Postorder5 min read · Asked in past papers: GATE 2014, 2008, 2002, 2000; UGC NET 2005.Free account
- 5Applying the Walk Method to a Large Tree with Dummy Nodes6 min read · Asked in past papers: UGC NET 2010.Pass
- 6Tracing a Recursive Tree Traversal Program on the Tree8 min read · Asked in past papers: GATE 2023, 2014, 2012, 2007, 2004; ISRO 2016; UGC NET 2022, 2013, 2011.Pass
- 7Double Order Traversal9 min read · Asked in past papers: GATE 2004, 1987; ISRO 2020; UGC NET 2012.Pass
- 8Triple Order Traversal7 min readPass
- 9Counting Binary Trees Possible with n Nodes (Catalan Number)4 min read · Asked in past papers: GATE 2016, 2015, 2011, 2010, 2008, 2007, 2005, 2003, 1997, 1995, 1993, 1987; ISRO 2017, 2013, 2011, 2009; UGC NET 2018, 2016, 2014, 2012.Pass
- 10Number of Labeled Binary Trees with n Nodes4 min read · Asked in past papers: GATE 2005; ISRO 2017, 2014.Pass
- 11Expression Trees and Traversals for Prefix, Infix and Postfix6 min read · Asked in past papers: GATE 2016, 2015, 2004, 1998, 1995, 1991, 1989; ISRO 2023, 2020, 2017, 2009; UGC NET 2016, 2014, 2013, 2007, 2006, 2005.Pass
- 12Expression Trees for Unary Operators6 min read · Asked in past papers: GATE 2004.Pass
- 13Left Child Right Sibling Representation of Trees6 min read · Asked in past papers: GATE 2014.Pass
- 14Array Representation of Binary Trees and Index Formulas7 min read · Asked in past papers: GATE 2025, 2024, 2023, 2022, 2016, 2015, 2014, 2011, 2009, 2006, 2005, 2004, 2001, 1996; ISRO 2016; UGC NET 2017, 2016, 2015, 2011, 2010.Pass
- 15Nested Parenthesis Representation of Trees4 min read · Asked in past papers: GATE 2000.Pass
- 16Speed tips and shortcuts4 min readPass