Some videos to explore recursion --- create Sierpinski's triangle, flatten nested lists, and learn the most natural technique for expressing certain ideas. If redundant function calls become a performance issue, learn how to memoize manually, then automatically.
racket triangle recursion videoProduce this complex, nested fractal using DrRacket and recursion. After you've watched the video, you should be able to:
|
racket koch recursion videoProduce this complex jagged curve using DrRacket and recursion. Once you have watched the video, you should be able to:
|
racket koch2 recursion video | racket flatten recursion video |
racket manual memoization with recursion |
racket automatic memoization with recursion |