Advent of Code 2020 Day 6 Custom Customs in Clojure (set/intersection, set/union)

preview_player
Показать описание
Рекомендации по теме
Комментарии
Автор

Loving the videos! Very instructive.
Instead of the "(reduce + 0)" to sum the counts, I suppose you could have done "(apply +)"? Any insights on why you chose reduce over apply in this case, apart from the opportunity for a teaching moment?

Skattepu
visit shbcf.ru