Write algorithms for following: (i) Count the number of leaf nodes in…
Previous year question for Data Structures.
Question
Write algorithms for following:
(i) Count the number of leaf nodes in a Binary tree.
(ii) Set a node as right child of a Threaded Binary tree.
(iii) Depth first traversal of a Graph.
(iv) Search an element in a Binary search tree.
- Year: 2018
- Subject: Data Structures