[SOLVED] CSI311-Scheme B-Tree

25.00 $

Category:
Click Category Button to View Your Next Assignment | Homework

You will receive the following solution file(s) instantly after successful payment:

zip file icon BTree_Scheme-djug9l.zip (7690 KB)
Assignment Instructions Updated Recently? Submit Below and we will provide new Solution!
Submit New Instructions
🔒 Securely Powered by:
Secure Checkout
5/5 - (1 vote)

As discussed in class, rewrite the B-Trees from earlier in the semester in Scheme. Use only Scheme information found in the slides – functions other than those defined in the slides are not allowed. Recursion will be critical for this assignment.

Below please find a sample tree. Note that it is a different tree from the Java sample.

 

(define tree ‘ ( “R” 100 999

(

(“R” 100 199

(

(“L” 120 140 160 180)

)

)

(“R” 200 299

(

(“L” 220 240 260 280)

)

)

)  )  )

 

(define (search tree value)

)

  • BTree_Scheme-djug9l.zip