aoc-2022

Python 3 solutions to the Advent of Code 2022 coding puzzles (https://adventofcode.com/2022). (by charlescochran)

Aoc-2022 Alternatives

Similar projects and alternatives to aoc-2022

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better aoc-2022 alternative or higher similarity.

aoc-2022 reviews and mentions

Posts with mentions or reviews of aoc-2022. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-12-12.
  • -🎄- 2022 Day 13 Solutions -🎄-
    149 projects | /r/adventofcode | 12 Dec 2022
    Python 3 https://github.com/charlescochran/aoc-2022/blob/master/day_13.py I originally wrote a comparator function which pretty much worked exactly how the part 1 problem is specified, but then I realized that with sufficient hacking, you can coerce the packets to sort correctly using Python's built-in alphabetical sorting. This involves 1. wrapping all the integers in a bunch of lists such that they are all nested the exact same amount and 2. doing some string substitutions to handle certain edge cases. My program solves part 2 in about 30 ms (CPU time). I'm curious how that timing compares to anyone who just did a normal sort with the custom comparator function developed in Part 1 (using Python)?

Stats

Basic aoc-2022 repo stats
1
0
3.3
12 months ago

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com