I have read that Trees are special cases of Graphs. Graphs can be directed or undirected. But if we consider tree as a data structure is it directed or undirected graph?
See Tree on Wikipedia :
A tree is an undirected graph.