C# Class eu.sig.training.ch03.binarytree.v3.BinaryTreeSearch

Exibir arquivo Open project: oreillymedia/building_maintainable_software

Public Methods

Method Description
CalculateDepth ( BinaryTreeNode t, int n ) : int

Private Methods

Method Description
GetChildNode ( BinaryTreeNode t, int n ) : BinaryTreeNode
TraverseByValue ( BinaryTreeNode t, int n ) : int

Method Details

CalculateDepth() public static method

public static CalculateDepth ( BinaryTreeNode t, int n ) : int
t BinaryTreeNode
n int
return int