Advent of Code 2022 in Kotlin: Announcing the Winners
We are incredibly grateful to the hundreds of people who participated in Advent of Code in Kotlin this year! We want to recognize the amazing community spirit we saw during Advent of Code, so we’re sending prizes to 15 participants.
Tips and Tricks for Solving Advent of Code
Advent Of Code is currently ongoing and many people all over the world are taking part. We’d like to share some tips and tricks for solving the puzzles in Kotlin – we hope you find some of them helpful! Feel free to add your favorite tips or thoughts in the comments!. If you’re solving the puzzles in Kotlin, don’t forget to add the aoc-2021-in-kotlin topic to your repo to take part in our giveaway! If you’re starting from scratch, consider using our prepared Github template. How do you usually go about solving the puzzles? First of all, you read and parse the input data. Let’s start with some
Advent of Code 2021 in Kotlin, Day 3: Binary Diagnostic
The nautical advent-ure continues with the third day of AOC 2021, which we will, of course, once more solve in Kotlin! This time, it will involve wrangling binary numbers in all sorts of ways. Check out the solution and a detailed explanation on YouTube, or follow along as we explain our solution in this blog post! https://www.youtube.com/watch?v=mF2PTnnOi8w Solving part 1 We’re on maintenance duty today: That means we’re working with a report of binary numbers. Our goal is to calculate two values in order to get our gold star. They are referred to as the gamma and epsilon rate in t
Advent of Code 2021 in Kotlin, Day 1
In this post, I’m going to walk you through my solution to the Advent of Code 2021 Day 1 task. Of course, I used Kotlin to solve it! https://www.youtube.com/embed/76IzmtOyiHw The input for the task is a text file, where each line is a number that represents a measurement of the depth of the seafloor. The task is to count the number of measurements where the depth increases. For example: 199 (N/A - no previous measurement) 200 (increased) 208 (increased) 210 (increased) 200 (decreased) 207 (increased) 240 (increased) 269 (increased) 260 (decreased) 263 (increased) In the sam
Advent of Code 2021 in Kotlin – Win Prizes, Solve Problems, Have Fun!
It’s that magical time of the year! Supermarkets are stocking cookies, the smell of cinnamon and roasted chestnuts fills the air, and maybe you’ll even see some snowflakes fall in front of your window. It can only mean one thing: Advent of Code is coming! It starts December 1, when the first of twenty-five coding puzzles is unlocked. From then on, a new coding challenge comes out each day. Whether you’re a beginner programmer or seasoned professional, there isn’t a better or cozier way to give your problem-solving skills a workout than the fun seasonal challenges from adventofcode.com.