Wednesday, December 23, 2020

Advent of Code 2020 - Day 23, the Crab and the Cups from Hell

 #AdventOfCode 

Part 1 - loop 100 times across these 10 elements... 

Me: oh.. these instructions don't make sense... eventually get it

Part 2 - loop these 1000,000 elements 10,000,000 times!

Me - ugh... question my self worth... this is going to take days to run!

Insight - oh.... rewrite code....

Runtime  0.248 Seconds!

And now THIS song is stuck in my head, for Day 23 of Advent of Code 2020


No comments: