advent-of-code 5 min read

Advent of Code: Where Curiosity Meets Code (And Why You Should Try It Today)

What solving all 25 Advent of Code 2024 puzzles, with a spoiler-free video for each one, taught me, and how to start your own AoC journey any time of the year.

Author’s Note: Before we dive in, a quick confession: this blog is about a month late. 🥲

Why? Well, Life happened!

Returning from year-end holidays, I was immediately swamped with catching up on work, planning for new project, and navigating the chaos of performance review season. Add to that the avalanche of self-assessment and peer feedback (you know how it goes!), and this draft quietly slipped into the abyss of my “I’ll finish it tomorrow” folder.

But here’s the thing: the lessons from AOC are timeless. They reshaped how I approach problems, collaborate, and grow as a developer and I feel that’s worth sharing, even if it’s a little late.

So, I’m hitting “publish” today, not for perfection, but for the greater good. So, if this inspires even one person to try Advent of Code or embrace a challenge, the delay was worth it.

Thank you for your grace and here’s to learning, even on our own timelines. 🥂


As developers, we rarely get the time to experiment, tinker, and play with code. Our days are filled with deadlines, production bugs, and meetings, leaving little room for curiosity. But what if I told you there’s a treasure trove of challenges designed to reignite that spark?

Animated Advent of Code 2024 calendar in ASCII art with all 25 days completed with two gold stars each
🎄🎅

Advent of Code (AoC), a 10-year-old coding tradition, offers 25 days of puzzles every December. But here’s the secret: its 250+ puzzles from past years are available right now, waiting for you to tackle them at your own pace.

I recently completed the 2024 edition, creating a YouTube playlist to document my problem-solving process as one recurring piece of feedback from my friends, while many loved the solutions, they wanted more visual insight into how to approach the puzzles, not just the answers.

With this, what started as a personal challenge became a public commitment. I announced on social media and my blog that I’d solve every problem and create daily videos explaining my thought process.

The result?

A whirlwind of late nights (with new problem dropping at 11PM CST everyday), caffeine-fueled breakthroughs, and a top-10 (barely) finish among ~200 competitors on our company’s private leaderboard:

Advent of Code 2024 private leaderboard with my username in 10th place marked by a red arrow; other participants' names are blurred

Here’s what I learned and why you should join the adventure as well:

Why Advent of Code?

  • Learn by Doing: Use it to master a new language (Rust, Go, or even Python tricks you’ve never tried).
  • Breadth Over Buzzwords: Puzzles span data structures, graph algorithms, cryptography, and even “manual” hacks (ask the 2024 veterans about that Christmas Tree by Robots image problem 😉).
  • Curiosity, Not Pressure: Unlike work, there’s no “right” way to solve these. Experiment, fail, and iterate guilt-free. At your own pace.
  • Relevance to Real Work: It’s a numbers game TBH. By expanding your breadth of knowledge, it’s inevitable that you will hit novel problems at work that you would have seen before or vice-versa!

✅ The best part?
You don’t need to wait for December. Dive into any year’s puzzles today from last 10 years.

How AoC Transformed My Craft

  1. Problem Solving Muscle Memory: Breaking down vague requirements into code is a superpower and well, AoC trains it relentlessly.
  2. Edge Case Mastery: AoC’s sneaky test cases mimic real-world bugs. Debugging them made me a more meticulous coder (both at work and on my side projects).
  3. Rediscovering Forgotten Tools: When was the last time you used a priority queue or implemented defragmentation or topographic maps or implementing a 3 bit computer from scratch? AoC brings these concepts roaring back.
  4. Bonus: I learnt quite a lot about video production, editing, lighting, camera etc. It’s hard, but by the sheer idea of forcing myself to produce content, it became fun after recording 10 videos.

Some highlights!

How to Start Your Own AoC Journey

  1. Find your people: Join (or start!) an Advent of Code channel at work or in your community.
  2. Pick a Year, Any Year: Start with https://adventofcode.com/2015 or jump to https://adventofcode.com/2024 for fresh challenges.
  3. Choose Your Weapon: Try a language you’re learning. I used Python, but my friends solved puzzles in Rust, Java, and even Excel!
  4. Make It Social: Join a private leaderboard (your company or community probably has one) or team up with peers. A little competition fuels growth.
  5. Embrace the Struggle: Stuck? Walk away. The “aha!” moment will come. If a problem takes hours, you’re learning, not failing.
  6. ????
  7. Profit! 🧠

Need Inspiration?

  • 🎥 Watch My 2024 Puzzle Walkthrough: See how I approach problems step-by-step in this YouTube playlist with detailed whiteboard explanation without any solution spoilers.
  • 📖 Read My 2023 Retrospective: Learn from last year’s wins (and mistakes) in my Advent of Code 2023 series.

Your Turn: Code, Learn, Repeat 👍

Advent of Code isn’t about being the fastest or smartest, it’s about staying curious. Whether you solve one puzzle or 25, I can promise you’ll walk away with sharper skills, fresh ideas, and a reminder of why you fell in love with coding in the first place.

So, what are you waiting for? Pick a puzzle, fire up your IDE, and let’s turn “I’ve never done that before” into “I can’t believe I just did that!”! 🚀🚀🚀

Day 9: Disk Fragmenter

Day 9 of #AdventOfCode: Tackling the 'Disk Fragmenter' puzzle! 💽 Watch as I compact files, decode disk maps, and optimize storage. Join the challenge and see how it’s done!

@jatinkrmalik, 9 December 2024

Day 10: Hoof It

Created these high-quality topographic visualizations of Day 10 puzzle using Python! I used matplotlib & numpy to generate: - Heatmaps with contours - 3D surface plots - Filled contour maps - Topographic lines All with terrain colormaps at 300 DPI! 😎

@jatinkrmalik, 11 December 2024

Day 17: Chronospatial Computer

Self-replicating code?! 🤯 I tackled this crazy Day 17: Chronospatial Computer, Advent of Code puzzle and lived to tell the tale! p.s: The longest video in the seris yet. We built a 3-bit computer that COPIES ITSELF.

@jatinkrmalik, 19 December 2024
1 / 3

Comments

    Supports `code`, ```blocks```, **bold**, *italics* and links.

    Keep reading

    advent-of-code 2 min

    🎄Solve Advent of Code 2024 With Me!

    Announcing a spoiler-free YouTube video series for Advent of Code 2024 that focuses on how to analyze and approach each puzzle, not just the answers.