Seishin's Life
  • Home
  • About Me
Sign in Subscribe

day3

Advent of Code 2022 Day 3: Rucksack Reorganization Solutions

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.
Atanas Dimitrov Dec 3, 2022

Subscribe to Seishin's Life

Don't miss out on the latest news. Sign up now to get access to the library of members-only articles.
  • Sign up
Seishin's Life © 2023. Powered by Ghost