More recent additions, some exercises and huffman encoding chapter

This commit is contained in:
Emin Arslan
2025-01-20 20:18:35 +03:00
parent ce27776d82
commit f41154cf93
2 changed files with 145 additions and 1 deletions

View File

@ -108,5 +108,7 @@
((null s1) s2)
((null s2) s1)
(t (union-set-tree (union-set-tree (btree-left s1) (btree-right s2))
(adjoin-set-tree s2 (btree-elt s1))))))
s (adjoin-set-tree s2 (btree-elt s1))))))
;; yeah, okay. this looks good enough, didn't test it at all, but whatevs.