Renaissance Learning Interview Question

Given a tree collection, write a method to traverse a tree for a given parameter.