module DayThree
Defined in:
aoc2022/day_three.crConstant Summary
-
PRIORITY =
([' '] + ('a'..'z').to_a) + ('A'..'Z').to_a
-
Constant of character priorities. a through z have a priority of 1 through 26 respectively. A through Z have a priority of 27 through 52 respectively. The space is going to represent 0.