Hacker News new | past | comments | ask | show | jobs | submit login

> 1. Have everything in place at the start (a script to grab the inputs helps).

Definitely. A lot of it is always the same (open files, iterate over input, operating on arrays/lists etc.). Something like Peter Norvig has in Python:

https://github.com/norvig/pytudes/blob/main/ipynb/Advent%20o...




Consider applying for YC's Summer 2025 batch! Applications are open till May 13

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

Search: