Giter VIP home page Giter VIP logo

advent-2023's Introduction

README

Notes

  • Day 1 : I'm no regex wizard so I had to find a workaround to handle matches overlap in part two.
  • Day 2 : a quick and easy one
  • Day 3 : knowning where indexes start and stop is hard ๐Ÿคฃ
  • Day 4 : what a lucky elf!
  • Day 5 : part two was a great opportunity to use Range, I can't believe I got it right on the first try!
  • Day 6 : solved by brute force but we should be able to find an analytical solution. After all it's just a quadratic equation. UPDATE : went for it!
  • Day 7 : ordering everything.
  • Day 8 : keeping part two for later.
  • Day 9 : part two: ok let's copy-paste and change signs ๐Ÿ˜‚.
  • Day 10 : well I hope I won't have to read my implementation for part two ever again!
  • Day 11 : why do I keep trying with Int? Long is always the solution!
  • Day 12 : a bit of cache can do wonders but still far from an optimized solution.
  • Day 13 : we don't really need to fix the smudge.
  • Day 14 : I thought it was handy that I could mutate values in a Array: helped at first and then led to headscratching behavior.
  • Day 15 : I'm on a strong streak of getting the right answer on the first try. Am I jinxing myself?
  • Day 16 : probably far from optimized (part two took a bit above 1s to compute) but the job is done!
  • Day 17 : what a terrible implementation, but I think I got the right idea. Needs improvement though. I will tackle part two later.
  • Day 18 : that's another part two for later ๐Ÿ˜….
  • Day 19 : part two looks fun but will have to wait too!
  • Day 20 : trying to catch up; can we brute force part two?
  • Day 21 : quick part one
  • Day 22 : ๐Ÿ™ˆ
  • Day 23 : finally getting somewhere! Not the most efficient way to solve part two, but the job is done.
  • Day 24 : solving part one with highschool mathematics... so long ago ๐Ÿ‘ด, I had to grab my formula book!

advent-2023's People

Contributors

aamiguet avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.