def setUp(self): self.builder = Str2Tree() self.func = ZigzagTraversal()
def setUp(self): self.builder = Str2Tree() self.func = BinaryTreeColoring().btreeGameWinningMove
def setUp(self): self.builder = Str2Tree() self.func = BSTByPreorder().bstFromPreorder
def setUp(self): self.builder = Str2Tree() self.func = CompleteTreeCount().countNodes
def setUp(self): self.builder = Str2Tree() self.func = BSTToList()
def setUp(self): self.builder = Str2Tree() self.func = Tree2Str()
def setUp(self): self.builder = Str2Tree() self.func = MaxPathSum()
def setUp(self): self.builder = Str2Tree() self.func = ClosestValue()
def setUp(self): self.builder = Str2Tree() self.serializer = Tree2Str() self.func = BinaryTreeToList()
def setUp(self): self.builder = Str2Tree() self.func = BinaryTreeDiameter()
def setUp(self): self.builder = Str2Tree().str2tree self.serializer = Tree2Str().tree2str self.func = DeleteNodes().delNodes
def setUp(self): self.builder = Str2Tree()
def setUp(self): self.builder = Str2Tree() self.func = ValidBST()
def setUp(self): self.builder = Str2Tree() self.func = TreePath()
def setUp(self): self.builder = Str2Tree() self.func = VerticalOrderTraversal()
def setUp(self): self.builder = Str2Tree() self.func = RightView()
def setUp(self): self.builder = Str2Tree() self.func = CompleteBinaryTree().isCompleteTree
def setUp(self): self.builder = Str2Tree() self.serializer = Tree2Str() self.func = DeepestSmallestSubtree().subtreeWithAllDeepest
def setUp(self): self.builder = Str2Tree().str2tree self.serializer = Tree2Str().tree2str self.func = FlippedBinaryTree().flipEquiv
def setUp(self): self.func = Str2Tree()
def setUp(self): self.builder = Str2Tree() self.func = BalancedBinaryTree().isBalanced
def setUp(self): self.builder = Str2Tree() self.func = LevelOrderTraversal()