Exploring MoreLINQ Part 25 - Traverse

added by Paul Wheeler
10/4/2018 1:25:43 PM

1 Kicks, 1474 Views

So we're finally at the end of this exploring MoreLINQ series, and today we're looking at TraverseBreadthFirst and TraverseDepthFirst. These are well-known algorithms for traversing a nested structure in different ways. You simply provide the starting object, and then a function which returns the "children" of that object.