# Day 1: Sonar Sweep

# Part 1

As the submarine drops below the surface of the ocean, it automatically performs a sonar sweep of the nearby sea floor. How many sonar sweep measurements are larger than the previous measurement?

# Part 2

Consider sums of a three-measurement sliding window; how many sums are larger than the previous sum?

  • ?
  • ?

Visualisation

My Input

My Solution

Solution Code

README

Viewer