TORONTO KIDS COMPUTER CLUB | admin
1
archive,paged,author,author-admin,author-1,paged-160,author-paged-160,ajax_fade,page_not_loaded,,qode-theme-ver-7.6.2,wpb-js-composer js-comp-ver-6.10.0,vc_responsive

Author: admin

03 Mar PMCA Friday 19:00 Python Homework 20.02.28.

Question 1:Using the binaryTree() and other helper functions we made in the class. If we run the following code, please print the binary tree as list: r = binaryTree('a') insertLeft(r,'b') insertRight(r,'c') insertRight(getRightChild(r),'d') insertLeft(getRightChild(getRightChild(r)),'e') And also please draw the tree graph. Question 2:Write a function buildTree() that returns a tree using the list...

Read More