C# Class TreeTraversal.Program

Afficher le fichier Open project: nzhul/TelerikAcademy

Méthodes publiques

Méthode Description
DFS ( Node node, Func action ) : void

Private Methods

Méthode Description
BFS ( Node node, Func action ) : void
FindAllLeafs ( Node nodes ) : List>
FindAllMiddleNodes ( Node nodes ) : List>
FindAllPathsWithSum ( Node nodes, int searchedSum ) : HashSet
FindAllSubtrees ( Node nodes, int searchedSum ) : HashSet
FindLongestPath ( Node root ) : int
FindRoot ( Node nodes ) : Node
Main ( string args ) : void

Method Details

DFS() public static méthode

public static DFS ( Node node, Func action ) : void
node Node
action Func
Résultat void