NB. there's an Advent of Code subreddit and every day has a 'solutions' thread where people post their code in all kinds of languages, and discussions of different approaches, which is interesting to browse.
e.g. 2020 Day 1:
https://old.reddit.com/r/adventofcode/comments/k4e4lm/2020_d...