Solving day 6 of Advent of Code 2021 in JavaScript

preview_player
Показать описание
Advent of Code is a website that releases a new programming puzzle every day between the 1st and the 25th of December.

0:00 Part 1
15:41 Part 2

Have fun!

Рекомендации по теме
Комментарии
Автор

I ran out of heap memory for part2 ! Thanks god you were here ! :D

didiercas
Автор

I love watching these videos! You are seriously an awesome programmer to learn from. Thank you

I do have one request: Would you please consider passing your audio through a low pass filter? The sound of your typing has some really low frequencies that come through quite loudly on my headphones. Another solution might be to pad your mic or desk since its probably going through the surface your equipment is sitting on.

I will still be watching your videos either way! Thank you again!

lovliestelise
Автор

Your awesome! I think that I never complete this challenge 🤯

andresguanov
Автор

Amazing work man! My Python code is still running for 8+ minutes 😂

EnglishRain
Автор

Very elegant solution man. Would you mind explaining how you came up with the idea that working a queue would be a nice approach?

beno
Автор

After an initial non-optimal solution, I also ended up with a nice quick solution. This challenge was really fun!

mpl
Автор

Thanks again for a great video! I’m trying to understand how this works cause I don’t quite get how this logic works when reading what the AoC example does with incrementing, etc. Then again i’m probably just thinking too hard with being nooby.

xShosTaK