Right, but for most tree problems, you don&#x27;t need to write your own tree.  People should know how to <i>use</i> trees, and when one would use them (a map with ordered traversals.)  For graph problems you will often have to write your own graph for the peculiarities of your problem, but the area I work in doesn&#x27;t really have many graph problems.