DEV Community

ann lin
ann lin

Posted on • Updated on

Tree traversal [Inorder]

Tree is in order. Traverse down the tree to get sorted values using inorder traversal. Inorder traversal is useful to determine if a tree is a binary search tree. Code is in python. Done through recursion.

Discussion (0)