Python Solution for 2021 Advent of Code - Day 5 - Hydrothermal Venture

preview_player
Показать описание
Solution to both parts of 2021's Advent of Code's Day 5's problem. You might have different data to deal with. However, hopefully the code still works the same for you as it does for me.

Bradley Sward is currently an Associate Professor at the College of DuPage in suburban Chicago, Illinois. He has earned a Masters degree in Software Engineering from DePaul University, a Masters degree in Computer Science from the University of Illinois at Springfield, and two Bachelors degrees in Computer Science and Molecular Biology from Benedictine University. Prior to teaching, Bradley worked for five years in the field of casino gaming on a variety of video slot machine and poker games. The Village People have been permanently etched into his brain.
Рекомендации по теме
Комментарии
Автор

"Hi", great job. Maybe you could explain the questions a little better so the code makes more sense for some but overall great job.

scuffed_content
Автор

If your code doesn't work for someone else' "different data" then you aren't a very good programmer lol You even said once you get it working for the example it usually works for the real data, so bit of a contradiction. The point of the example is to test your code to see it works with a known outcome to help debug if your answer is wrong. If it works on the example it should absolutely work on the user input data, for any user input data. Otherwise it defeats the purpose of coding.

irishRocker