Skip to content

Instantly share code, notes, and snippets.

View mcapkovic's full-sized avatar

Matej Capkovic mcapkovic

View GitHub Profile
import run from "aocrunner"
// ---------------------------- examples ----------------------------
const example1 = `2333133121414131402`
// ---------------------------- solution ----------------------------
const parseInput = (rawInput: string) => rawInput.split("").map(Number)