- Gyanastra
- Data Structures
- Binary Search Trees
Data Structures
Binary Search Trees: lessons and notes
13 lessons on binary search trees 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.
- 1Need for Binary Search Trees and Search Complexity4 min read · Asked in past papers: GATE 2021, 2020, 2019, 2017, 2014, 2013, 2008, 2007, 2006, 2004, 2003; ISRO 2017, 2016, 2011, 2009; UGC NET 2020, 2016, 2014, 2012, 2010, 2008, 2006.Read free
- 2Insertion of Elements into a Binary Search Tree6 min read · Asked in past papers: GATE 2025, 2020, 2017, 2016, 2015, 2008, 2006, 2005, 2004, 2003, 1997, 1996; ISRO 2017, 2009; UGC NET 2018, 2017, 2016, 2014, 2008.Read free
- 3Verifying BST Property via Subtrees and Inorder Traversal4 min read · Asked in past papers: GATE 2025, 2024, 2015, 2014, 2011, 2008, 2005; ISRO 2017, 2014, 2009; UGC NET 2017, 2012, 2005.Free account
- 4Finding the Minimum (Leftmost) Element3 min read · Asked in past papers: GATE 2003.Free account
- 5Deletion of a Leaf Node4 min readPass
- 6Deletion of a Node with One Child3 min readPass
- 7Deletion of a Node with Two Children using Inorder Successor and Predecessor5 min read · Asked in past papers: GATE 1991; ISRO 2020; UGC NET 2016.Pass
- 8Deletion of a Node with Two Children using Inorder Predecessor6 min read · Asked in past papers: UGC NET 2016.Pass
- 9Pass
- 10Finding the Minimum Element in a BST (Iterative Function)5 min read · Asked in past papers: GATE 2003.Pass
- 11Finding the Maximum Element in a BST4 min read · Asked in past papers: GATE 2021.Pass
- 12Why a BST Can Degrade to a Linked List (Skewed Tree and O(n) Search)6 min read · Asked in past papers: GATE 2025, 2017, 2016, 2015, 2013; ISRO 2009; UGC NET 2007.Pass
- 13Speed tips and shortcuts4 min readPass