Advent of Code 2022 Day 3: Rucksack Reorganization Solutions
In this short article, I want to share with you my solutions to the 3rd day of Advent of Code 2022 Rucksack Reorganization Solutions:
from functools import reduce
with open('input') as file:
contents = file.read().split('\n')
def get_priority(item):
return ord(item) - 96 if item.