Uses of Class
com.amritpandey23.dsalibrary.tree.TreeNode
Packages that use TreeNode
-
Uses of TreeNode in com.amritpandey23.dsalibrary.tree
Fields in com.amritpandey23.dsalibrary.tree declared as TreeNodeModifier and TypeFieldDescriptionTreeNode.leftPointer to the left child node.TreeNode.rightPointer to the right child node.Methods in com.amritpandey23.dsalibrary.tree that return TreeNodeModifier and TypeMethodDescriptionDeletes a specified value from the binary search tree.Inserts a specified value into the binary search tree.Methods in com.amritpandey23.dsalibrary.tree with parameters of type TreeNodeModifier and TypeMethodDescriptionDeletes a specified value from the binary search tree.static <T> IntegerSizeOfBinaryTree.getSizeIteratively(TreeNode<T> node) Calculates the size of a binary tree iteratively.static <T> IntegerSizeOfBinaryTree.getSizeRecursively(TreeNode<T> node) Calculates the size of a binary tree recursively.Inserts a specified value into the binary search tree.static booleanSearches for a specified value in the binary search tree.static <T> List<T> SerializeTreeToList.serializeTree(TreeNode<T> node) Serializes the binary tree rooted at the specified node into a list using level-order traversal.static booleanValidates if the given binary tree is a binary search tree (BST).Constructors in com.amritpandey23.dsalibrary.tree with parameters of type TreeNode