Since I was studying for monitoring the students of algorithms and data structures, here's a picture of Acme while I was testing an implementation of an AVL tree, built entirely in Plan 9.

The special thing here is that while everything was done in Plan 9, it saved remotely to my Linux laptop as my laptop's root was mounted in /mnt/term through drawterm.

@alchemist
I wonder why you are pushing the nil nodes into the queue?🤔
Just kidding🤣

Follow

@yrabbit Indeed, it's useless to do that on that particular function...

The one right below it needs this so I could picture the tree from the output (I was lazy, didnt want to write something to display a proper tree on console)

· · Web · 0 · 0 · 0
Sign in to participate in the conversation
Mastodon @ SDF

"I appreciate SDF but it's a general-purpose server and the name doesn't make it obvious that it's about art." - Eugen Rochko