Day 1 | Advent of Code 2024

preview_player
Показать описание

0:00 Statement
1:29 Solution
3:00 Hard Version

I make educational videos on algorithms, coding interviews and competitive programming.
Рекомендации по теме
Комментарии
Автор

When the world needed him the most, he returned.

dasDull
Автор

So motivated to see you after a very long time!

sarvottampriyadarshee
Автор

Happy to see you back, Errichto! Your videos are really helpful. Please post more educational videos!

argasaragih
Автор

I took me like 6 hours to do it (First time using C++) but I learned a lot and it's nice to see my solution was this close to yours :D

I didn't know you can fill 2 vectors like that in one line tho 2:07 Thanks for the video!

Vergillo
Автор

I’m glad you’re back; I missed your coding!

ShamimKeshani
Автор

nice to see you. we need more content :)

johndoe
Автор

Very nice :)
I did it in standard C and it's so much nicer to be able to just use a map in C++.
By the way, 'distance' is also a term for the absolute value of the difference. 🙂👍

dkdm
Автор

Will you compete for the leaderboard, or it's not appropriate at your time?

bladekiller
Автор

when i'm at 100% focus on day 1 AOC trying to understand the problem, i'm in fact using this guy's brain.

SayfSentinel
Автор

If map is slow as you said for the part 2 then what else can be used there if the list data was big?

dark_lord
Автор

I also thought they were talking about the distance between indices and was very confused.

verified_tinker
Автор

Why leftsum-rightsum will not give the correct ans ?
As the logic is add the left one and subtract the right one ?

shekhar
Автор

the webcam is covering part of the code

nnene
Автор

lmfao it took me almost 2 days and over 2k lines of code after pasting the two list in separate vectors 💀

zzgallo
Автор

Lvl. 60 mafia boss vs Lvl 1. Crook typa challenge 🤣

hujoeth
Автор

Who will say: "finally he remembered his account password" 😂

Bharat_Rider