From 877576afc5e4fe3d87112640055114e38d9087d0 Mon Sep 17 00:00:00 2001 From: Jidong Xiao Date: Mon, 14 Apr 2025 14:23:24 -0400 Subject: [PATCH] include the pre order animation --- lectures/21_trees_IV/README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lectures/21_trees_IV/README.md b/lectures/21_trees_IV/README.md index 9a1c43b..4ac7d66 100644 --- a/lectures/21_trees_IV/README.md +++ b/lectures/21_trees_IV/README.md @@ -166,6 +166,8 @@ Preorder Traversal using Morris Traversal: 1 2 4 5 6 7 3 8 9 ``` +Play this [animation](https://jidongxiao.github.io/CSCI1200-DataStructures/animations/trees/morris/morris_pre_order.html) to understand how this works. + ## 21.6 Morris Traversal - Post Order Post order is different, and we need to write some helper functions here.