Finally, Directed Weighted Graphs have made their way to the Advent Of Code 2020 on Day 7. If you are unfamiliar with graphs then I highly recommend you to go through the below articles: Undirected Graphs and Graph Processing This above article will give you enough information to get you started with today's problem. On this note, let's start with today's problem. We … [Read more...] about Advent Of Code 2020 – Day 7 – Handy Haversacks
aoc-2020
Advent Of Code 2020 – Day 6 – Custom Customs
This problem was a bit hard to understand at first because the information is not directly given, you have to derive it from the given input. The story goes like this, your aeroplane has reached a regional office where you will switch to a much larger plane, custom declaration forms are distributed to passengers. The form asks a series of yes-or-no questions marked from … [Read more...] about Advent Of Code 2020 – Day 6 – Custom Customs
Advent Of Code 2020 – Day 5 – Binary Boarding
You've made it through the passport verification phase. Now, it's time to board the plane. You board the plane but then you realize that you have dropped your boarding pass. So, how are you going to handle this situation. Well, you are a developer, you know only one thing and that is to write code. That is what you are going to do. Somehow, you scanned all the nearby … [Read more...] about Advent Of Code 2020 – Day 5 – Binary Boarding
Advent Of Code 2020 – Day 4 – Passport Processing
I just love the way Eric Wastl links the story. This time it's about passport processing. Do visit the link to read the story and understand the task better. But at a high-level, you need to understand this - there are two types of documents: North Pole CredentialsPassport The passport scanner machine is slow and facing some problem detecting which passport have … [Read more...] about Advent Of Code 2020 – Day 4 – Passport Processing
Advent Of Code 2020 – Day 3 – Toboggan Trajectory
Great job reaching here so far. Finally, we've logged in to Toboggan successfully, now we have to travel to the airport through a jungle. The path is not very good and has a lot of trees. So, here comes our next task. The trees in this area only grow on exact integer coordinates in a grid. You make a map (your puzzle input) of the open squares (.) and trees (#) you can see. … [Read more...] about Advent Of Code 2020 – Day 3 – Toboggan Trajectory
Advent Of Code 2020 – DAY 2 – Object-Oriented Way
The Password Philosophy is the topic of today's discussion. Since there is not much to do with today's problem apart from the string parsing, I thought of doing it in an object-oriented way. The problem statement is mostly based on the string parsing. You will get a list of lines with the password and password check policy. The task is to parse the policy and password from … [Read more...] about Advent Of Code 2020 – DAY 2 – Object-Oriented Way
Advent Of Code 2020 – Day 1 – Report Repair
In this article, I'll discuss on the Day - 1 problem of "Advent of Code". And from today onwards, I will try to discuss everyday's problem. Make sure you subscribe to the blog to stay in touch. Feel free to share your ideas or even post your solutions in the comment section below. Let's start... PART - 1 of DAY - 1 The problem is simple - Given a list of years, … [Read more...] about Advent Of Code 2020 – Day 1 – Report Repair