/AoC2019

Primary LanguagePython

AoC2019 My experience

at each problem, I had to choose between C++ and Python, knowing both well

using C++

  • looked for something similar to python tuples and learned C++ tuples and used them as keys for maps
  • for problems with strings and for performance

using Python:

  • faster coding
  • created a library for IntCode computer
  • used dependency injection between IntCode computer and input/output functions
  • used cookie to download the input file automatically
  • created functions for easier work with dictionaries
  • created a backtracking python that called IntCode application like another terminal application giving inputs and extracting outputs

using javascript:

after challenge: