Title Inserting binary tree Challenge
Catalog Type SLCItem
Persistent ID https://adapt2.sis.pitt.edu/pcex/pcex_v2/index.html?lang=PYTHON&set=py_trees_insert_binarytree&ch=insert_binarytree_ch
Platform Name PCEX
Features
Description In a BinaryTree, adding new nodes to the tree is an important capability to have.\nConstruct a simple implementation of a BinaryTree consisting of an __init__ method and an insertRight method, which adds new nodes to the tree to the right of the root.
Keywords recursion, trees
Author Kamil Akhuseyinoglu
Institution University of Pittsburgh
Iframe URL https://adapt2.sis.pitt.edu/pcex/pcex_v2/index.html?lang=PYTHON&set=py_trees_insert_binarytree&ch=insert_binarytree_ch
Protocol PITT, HTML
Protocol URL
License MIT
Programming Language Python
Natural Language en

Preview