Advent of Code is an Advent calendar of small programming puzzles for a variety of skill sets and skill levels that can be solved in any programming language you like. People use them as a speed contest, interview prep, company training, university coursework, practice problems, or to challenge each other.
You don't need a computer science background to participate - just a little programming knowledge and some problem solving skills will get you pretty far. Nor do you need a fancy computer; every problem has a solution that completes in at most 15 seconds on ten-year-old hardware.
What am I doing wrong? this is taking so long, on line 100, 500 after 20 mins, gonna run it in my bag during school, but why is it so slow? Snap! Build Your Own Blocks Suggestions welcome!
Edit: srry meant to reply to topic not post
compile makes it faster right?, but i only use map in the setup, the real slow thing is when I am sdding each point to the list, and what does group by do? srry for replying to post by mistake