Kotlin logo

Kotlin

A concise multiplatform language developed by JetBrains

News

Solve Advent of Code 2024 Puzzles in Kotlin and Win Prizes

TL;DR
Advent of Code is the perfect opportunity to level up your Kotlin skills, whether you are a beginner or looking to finally tackle that advanced Kotlin feature you’ve been curious about. Here’s what’s in store:

  • For the first 12 days, join daily livestreams with Sebastian Aigner, Kotlin Developer Advocate, and awesome expert guests who’ll be discussing solutions and providing real-time guidance and insights. 
  • You’ll also have the support of our amazing community in Slack, where everyone shares tips, ideas, and solutions – learning together makes it all the more fun.
  • There are exclusive prizes to be won along the way.

So join in, solve some Advent of Code puzzles, and enjoy the holiday coding spirit with Kotlin!

About Advent of Code in Kotlin

Get ready to cozy up and code. JetBrains is thrilled to join Advent of Code for the fifth time, and our fourth as a sponsor. Advent of Code is an Advent calendar for everyone who enjoys programming – 25 daily, winter-themed algorithmic puzzles from December 1 to 25. The difficulty level ramps up gradually as you go through the puzzles, making this the perfect setting for both learning and fun.

Kotlin, with its readable yet powerful syntax, is an ideal language for Advent of Code. Whether you’re new to Kotlin or a pro, Advent of Code is a great way to dive into Kotlin’s features, sharpen your problem-solving skills, and connect with a warm, enthusiastic coding community.

Join us at adventofcode.com for 25 days of exciting coding puzzles – we invite you to tackle them in Kotlin.

Tune into Daily Livestreams

Every day at 5:00 pm UTC, Sebastian Aigner, Kotlin Developer Advocate, and special guests will go live on YouTube to walk through the daily puzzle and chat about solutions and strategies. Whether you’ve solved the puzzle or could use a hint, join us for an interactive breakdown with some festive flair.

Join Live

Connect with the Advent of Code Community

The Advent of Code channel in Kotlinlang Slack is a fun place to hang out during the event. Every day, we’ll open a fresh thread for puzzle solutions and tips. Our most active and creative community members will be in the running for cool Kotlin prizes.

Join Our Slack

Climb the Leaderboards

Challenge yourself on the official Kotlin leaderboards. We’ll award exclusive prizes for top scorers and a few randomly selected participants who share their solutions on GitHub with the aoc-2024-in-kotlin topic. To join, head to the Leaderboard section of your Advent of Code profile and enter one of the codes below. Please join only one leaderboard so that there’s room for everyone.

Here are the leaderboard codes for 2024:

Leaderboard 1: 2553782-cea910db
Leaderboard 2: 3240094-7c19b5c5
Leaderboard 3: 2553918-9a53059b
Leaderboard 4: 2649199-76907702
Leaderboard 5: 2343137-3ba37431
Leaderboard 6: 2076885-390cf855
Leaderboard 7: 2716400-267b06fb

Resources

Template

Use our GitHub template to set up your Advent of Code Kotlin project instantly. This template streamlines your setup, automatically removes unnecessary files, and customizes your project with your username and name.

To start, log in to GitHub, click “Use this template” (don’t fork!), and clone it in IntelliJ IDEA once setup is complete.

Advent of Code in Kotlin template

If our Advent of Code template helped you with Advent of Code, give it a star!

How to Win Prizes

Want to win exclusive Kotlin prizes? Follow these steps:

  1. Complete at least three Advent of Code 2024 puzzles using Kotlin.
  2. Share your solutions on GitHub, adding the topic aoc-2024-in-kotlin.
  3. Make sure we can contact you through your GitHub profile (email address or X handle).
  4. When competing for top scores, honor the Advent of Code guidelines, which forbid you from using AI or LLMs to solve the puzzles.

To add the aoc-2024-in-kotlin topic in your repository, edit the repository details by clicking the gear icon in the top right-hand corner of the repository page. Next, in the topics field, add the value aoc-2024-in-kotlin:

Advent of Code in Kotlin 2024

Happy coding – see you there! 

image description