437 views
0 votes
0 votes
In GATE if questions just mention a tree then should we assume it to be a directed or undirected tree?

Also, if we are having an undirected tree then does the child node contains a pointer to the parent node?

1 Answer

0 votes
0 votes
In math, yes, assume undirected tree. In Computer Science, assume directed tree.

Related questions

0 votes
0 votes
0 answers
1
Shivangi Parashar 2 asked Aug 28, 2018
506 views
3 votes
3 votes
0 answers
2
iarnav asked Jan 7, 2018
1,014 views
Consider a binary tree T that has 150 leaf nodes. Then the number of TOTAL nodes in T that have exactly two children are ______.
2 votes
2 votes
5 answers
4
Hardik Vagadia asked Nov 13, 2017
922 views
A 4-ary tree,i.e. each node has either 0 or 4 children tree has 20 leaf nodes. Then the total number of nodes in the tree are ____.