Browsed by
Tag: Advent of code

Advent of Code 2021 – Day 2

Advent of Code 2021 – Day 2

Well we’re back for day 2 of Advent of Code 2021. If you haven’t checked out day 1 yet, you can do so here. You may remember yesterday Santa got in to his trusted submarine and decided to go hunting for his sleigh keys; that an elf had accidently knocked over the side of the boat. Day two isn’t much different, but our movement within the submarine has changed. We now have to take into account our Horizontal and Vertical…

Read More Read More

Advent of Code 2021

Advent of Code 2021

It’s that time of year again, where I start completing the Advent of Code challenges. Each day you’re given 2 puzzles (the second one unlocks if you complete the first one successfully). The puzzles are often to help Santa one way or another to make it through giving presents to everyone around the world. The first set of puzzles have now been opened for 2021. As a bit of back story to myself, I generally work through these puzzles in…

Read More Read More

Advent Of Code 2020 – Day 1 Performance

Advent Of Code 2020 – Day 1 Performance

A Need For Speed Following on from yesterday post about solving Part 1 for Day 1 (found:https://nerdrays.azurewebsites.net/?p=37) In yesterday’s post, we looked at the first day of Advent Of Code 2020 challenge. Today we’re going to look at my optimised code that was implemented to improve performance. But what are the actual results and is the payoff worth it?  Again we shall be looking at the following languages: PowerShell, Python, JavaScript & C#. My technique to improve the scripts is…

Read More Read More

Advent Of Code 2020 – Day 1

Advent Of Code 2020 – Day 1

Puzzles, Solutions, Challenges Over the last couple of years, I have been taking part in a super casual coding challenge called Advent Of Code. Each year in December a new daily challenge is published. As a challenger, you’re given input to a puzzle and asked to figure out the programmable solution and derive an answer. One of the great things about Advent Of Code is that each input is unique to the next person so no one can copy an…

Read More Read More