Skip to content

Instantly share code, notes, and snippets.

View hyunwoona's full-sized avatar

Eric Na hyunwoona

View GitHub Profile
@hyunwoona
hyunwoona / aoc121424.js
Created December 15, 2024 22:50
Advent of code 12/14/24
const map =
[
[44,70,-47,36],
[56,4,69,91],
[6,30,-52,-60],
[64,4,35,44],
[57,22,-56,48],
[5,22,18,37],
[2,48,88,-65],
[80,54,28,-40],
const availabilityCriteria = is.array(
is.oneOf(
is.obj({
type: is.value('policy_form_versions'),
values: is.array(is.value(...formVersionArray)),
}),
is.obj({
type: is.value('policy_types'),
values: is.array(is.value(...policyCategoriesArray)),
})