Intro to
Computer
Science

Spring 2021
course
site
-->

a series of tubes

This is a coding puzzle that you could use for a final project.

It's from the 2017 advent of code annual December coding puzzles.

The task is to write a program which traces along the lines in an ASCII art diagram to find the order of the letters.

For example, if the diagram is

                 |        
           +-U---|--+     
           |     S  |     
       R---|-+   |  |     
           +-|---+  P     
             |      |     
             +--E---+     

then starting from the top the order of the letter is SUPER

write a program which reads in the diagram as a list of strings, and traces along this much bigger diagram to find the order of the letters.

https://cs.bennington.college /courses /spring2021 /introcs /code /tubes /README
last modified Thu October 1 2020 8:11 pm