Skip to content
DevMeme
2276 of 7590
CS Fundamentals Post #2533 · source on Telegram

Merry Christmas by Inorder Traversal

Description

A dark, starry background contains a binary tree made of colored circular nodes connected by thin gray lines. The node labels are letters: the root is "R"; its left side contains "R", "E", "C", "M", "R", "Y", and "H"; its right side contains "M", "S", "A", "I", "T", and "S". Read with an inorder traversal, the labels spell "MERRY CHRISTMAS," turning a holiday greeting into a data-structure exercise.

Comments

6
Anonymous ★ Top Pick Festive enough for December, strict enough to fail anyone who reads level-order.
  1. Anonymous ★ Top Pick

    Festive enough for December, strict enough to fail anyone who reads level-order.

  2. Deleted Account 5y

    спс

  3. dev_meme 5y

    🐣

    1. @lord_nani 5y

      I thought it was binary search tree lol

  4. @Bender666 5y

    How to read this?

    1. @bladefistx2 5y

      In order

Use J and K for navigation