Upgrade to Pro — share decks privately, control downloads, hide ads and more …

The Advent of Code - how close am I to the Lead...

The Advent of Code - how close am I to the Leaderboard?

When you are not a competitive coder the advent of code is quite a time investment. But I did it! I will show comparative analysis of my repository and others from the leaderboard. Am I getting closer?
I sometimes woke up at 6 am and hoped to be done by 9. What did I learn? Did my coding get better?

Talk given at Python Pizza New Year's Party 2020

Tereza Iofciu

December 31, 2020
Tweet

More Decks by Tereza Iofciu

Other Decks in Technology

Transcript

  1. Co-organizer of PyLadies Hamburg Board member of Python Software Verband

    Art: tiyepyep Past: L3S, New Work, Free Now TEREZA IOFCIU HEAD COACH DATA SCIENCE @NEUEFISCHE
  2. MY AOC I DIDN’T TRACK TIME .. BUT I DID

    START AT 6 AM SOME DAYS… 4 … 6 MINS THEM VS 3 HOURS ME 5 … 5 MINS THEM VS 51 MINS ME 6 … 4 MINS THEM VS 31 MINS ME 8 … 7 MINS THEM VS 1H23 ME 9 … 6 MINS THEM VS 1H ME
  3. I WAS CONVINCED THERE WAS A PATTERN IN THE DIFFICULTY..

    LIKE THURSDAYS WERE HARDER.. AND SATURDAYS TOO.. AND IT WAS GETTING HARDER IN GENERAL
  4. FOR WHATEVER REASON.. I ALWAYS FEEL BAD WHEN I WRITE

    AN IF/ELSE STATEMENT.. I FEEL I SHOULD OPTIMISE
  5. @TEREZAIF I wanted to play around with ALTAIR .. also

    it seems the one who wrote least code did more imports
  6. @TEREZAIF HTTPS://GITHUB.COM/HLTK/ADVENTOFCODE IMPORTS aocd re operator functools collections Itertools ..

    and .. more_itertools parse sympy.ntheory.modular networkx -> day 16, 21 .. classical bipartite graphs math dataclasses
  7. @TEREZAIF WHAT I HAVE LEARNED aocd parse & re &

    https://pythex.org how do deep copy arrays when to set, dict or list
  8. @TEREZAIF PYTHON NEXT HLTK - day 25 Terezaif - day

    25 And pow has a z option?!?!?!