Day 8: Playground

Megathread guidelines

  • Keep top level comments as only solutions, if you want to say something other than a solution put it in a new post. (replies to comments can be whatever)
  • You can send code in code blocks by using three backticks, the code, and then three backticks or use something such as https://topaz.github.io/paste/ if you prefer sending it through a URL

FAQ

  • CameronDevOPM
    link
    fedilink
    arrow-up
    4
    ·
    1 month ago

    That is a very unoptimal pt2 time! Have you tried profiling to see what’s causing the slowdown? Mine is 300ms, or worst case, 4s to process all links.

    • eco_game@discuss.tchncs.de
      link
      fedilink
      arrow-up
      3
      ·
      1 month ago

      My algorithm is probably pretty horrible, I was purely out to get a solution as fast as possible. I might try improving it after Day12…