a write a procedure called lookup n t this


(a) Write a procedure called (lookup n t). This procedure has 2 arguments: n is the value being looked up, t is the AVL tree. The subtree with n as its root is returned (or '() if no such node is found).

 (b) Write a procedure called (print-as-list t). This procedure prints the AVL tree passed in t as a regular list (not a mutable list).

 

Request for Solution File

Ask an Expert for Answer!!
Application Programming: a write a procedure called lookup n t this
Reference No:- TGS0218481

Expected delivery within 24 Hours