Skip to content

dlemm/advent_of_code_2021

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Advent of code 2021

This repository is for the solutions for the advent of code challenge 2021.

Day 01

Task 1: Question: How many measurements are larger than the previous measurement?

Solution Answer: `1529` times the measurement increased.

Task 2: Question: Consider sums of a three-measurement sliding window. How many sums are larger than the previous sum?

Solution Answer: `1567` times the measurement increased without the noise.

Day 02 - Dive

Task page: https://adventofcode.com/2021/day/2

Task 1: Question: "Calculate the horizontal position and depth you would have after following the planned course. What do you get if you multiply your final horizontal position by your final depth?"

Solution Answer: `1728414`

Task 2: Question: "What do you get if you multiply your final horizontal position by your final depth?" (with respecting aim)

Solution Answer: `1765720035`

Task 3: Task: Get the power consumption.

Solution Answer: `1765720035`

About

Repository for Solutions for the https://adventofcode.com/2021 challenge

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published