These implementations are for demonstration purposes. They are less efficient than the implementations in the Python standard library.
Learn the important Racket concepts with practical examples, from functions and recursion to macros, contracts, streams, and ...