Dynamic Binary Int Tree Assignment

From CSE425S Wiki
Jump to navigation Jump to search

Provided

(struct branch (left x right) #:transparent)

(define empty-tree #f)

Code to Implement

file: src/main/racket/binary_int_tree/binary_int_tree.rkt Racket-logo.svg
functions: insert
contains
sum

insert

contains

sum

Test

file: binary_int_tree_test.rkt Racket-logo.svg Test
source folder: src/test/racket/binary_int_tree

note: ensure that you have removed all printing to receive credit for any assignment.