Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> The Chinese Remainder Theorem has featured in Advent of Code at least twice IIRC

Fortunately it's never been needed. Every time it's come up the problem has been solvable with high school algebra level math skills (you need to know what the lcm is and that's covered in middle school in many places). If you knew the CRT you could jump straight to a solution, but a solution was easily derived using algebra and a couple loops.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: