I ❤️ how it starts with easy-but-somehow-tricky problem
e
ephemient
12/01/2025, 8:35 AM
I don't like "the best solution is brute force" generally, but "brute force works to provide a reference value to compare against while debugging a better solution" is appreciated 🙂
j
Jakub Gwóźdź
12/01/2025, 8:41 AM
never use brute force if you can do algebraic solution 🙂
p
phldavies
12/01/2025, 9:14 AM
... which is unlikely at 5am for me, so brute force it is!
a
Andriy
12/01/2025, 2:48 PM
I think you can start with the fastest solution to reach starts and then - optimize your solution is more elegant way.
j
Jakub Gwóźdź
12/01/2025, 2:56 PM
That's probably personal preference.
I need to have fun from it, so usually I cannot properly focus on part 2 until I refactor the hell out of part 1 solution first 🙂
a
Anirudh
12/01/2025, 4:15 PM
25 days become 12 days but the fun still goes from 1 to 25.
I wonder if day 12 will be 3-parts