1. Gyanastra
  2. Data Structures
  3. 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.

16 lessons5 simulators
  1. 1
    Introduction 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
  2. 2
    Inorder, 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
  3. 3
    Shortcut 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
  4. 4
    First, 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
  5. 5
    Applying the Walk Method to a Large Tree with Dummy Nodes6 min read · Asked in past papers: UGC NET 2010.
    Pass
  6. 6
    Tracing 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
  7. 7
    Double Order Traversal9 min read · Asked in past papers: GATE 2004, 1987; ISRO 2020; UGC NET 2012.
    Pass
  8. 8Pass
  9. 9
    Counting 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
  10. 10
    Number of Labeled Binary Trees with n Nodes4 min read · Asked in past papers: GATE 2005; ISRO 2017, 2014.
    Pass
  11. 11
    Expression 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
  12. 12
    Expression Trees for Unary Operators6 min read · Asked in past papers: GATE 2004.
    Pass
  13. 13
    Left Child Right Sibling Representation of Trees6 min read · Asked in past papers: GATE 2014.
    Pass
  14. 14
    Array 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
  15. 15
    Nested Parenthesis Representation of Trees4 min read · Asked in past papers: GATE 2000.
    Pass
  16. 16Pass