Prashnikaप्रश्निका

Binary tree and BST tool

Draw a binary tree and get what ISC Computer Science asks about it: the preorder, inorder and postorder traversals, the height and levels, leaves, internal nodes, and each node's parent, children and sibling. Build it by inserting values into a binary search tree, give it level by level, or rebuild it from two traversals.

Build the tree

Numbers go by value, words alphabetically (MANGO, APPLE, PEAR ...).

Separate the values with commas or spaces.

Try: BST: 50, 30, 70, 20, 40, 60, 80BST: MANGO, BANANA, PEAR, APPLE, ORANGEA, B, C, D, -, E, Finorder + preorderinorder + postorder

Practise on real ISC questions

More Computer Science tools

All study tools ›