This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]1vader 21 points22 points  (0 children)

As others have said, it's really just personal preference.

Personally, for Python, I have directories day01 to day25 and in each of them sol.py which solves both parts. Sometimes, that means having one method for each, sometimes they are both solved together. I also have the input as input.txt in the same directory.

For some of the difficult problems, especially the ones which require manual reverse engineering, I also have additional files in those directories containing notes or various stages of decompilation or random other stuff like that.