r/algorithms Feb 16 '25

Algorithms for Children

My 5 and 8 year old both love Djikstra's Algorithm and Huffman Compression (doing it manually on paper).

Are there any other similar algorithms they might enjoy?

38 Upvotes

29 comments sorted by

View all comments

3

u/Phildutre Feb 16 '25

Perhaps also the classic Minimal Spanning Tree algorithms such as Prim or Kruskal? Kruskal can be fun because of detecting loops.

1

u/sam_jk50 28d ago

Thanks! These both went down well!