Skip to content

adhokshaja/AdventOfCode2019

Repository files navigation

AdventOfCode2019

Repository for Advent of Code 2019 Advent calendar of programming challenges.

Contents

  1. Day 1: The Tyranny of the Rocket EquationChallengeJS CodeC# Code

  2. Day 2: 1202 Program AlarmChallengeJS CodeC# Code

    • Array Equality Check - JS
  3. Day 3: Crossed WiresChallengeJS CodeC# Code

    • JS Classes
    • JS Kinda Sloppy Code - Brute Force - O(N^2) time complexity, can be improved
    • C# Tuples , Tuples Array
  4. Day 4: Secure ContainerChallengeJS CodeC# Code (not available)

    • Regex FTW!!!
  5. Day 5: Sunny with a Chance of AsteroidsChallengeJS CodeC# Code (not available)

    • JavaScript Class
    • JS testing
    • Custom test "programs"
  6. Day 6: Universal Orbit MapChallengeJS CodeC# Code (not available)

    • JavaScript Class
    • JavaScript Tree Traversal
    • CommonJS module imports/exports
  7. Day 7: Amplification CircuitChallengeJS CodeC# Code (not available)

    • JavaScript Generators
    • IntCode Updated to accept multiple inputs & wait for inputs
  8. Day 8: Space Image FormatChallengeJS CodeC# Code (not available)

    • ES6 Array Functions - map, reduce, filter
    • Unicode characters subsituuted for Black and White Pixels
    • TODO: C# / LINQPAD code ( Would be interesting to see the Image capabilities of LinqPad's Dump function)
  9. Day 9: Sensor BoostChallengeJS CodeC# Code (not available)

    • Complete Intcode computer
  10. Day 10: Sensor BoostChallengeJS CodeC# Code (not available)

    • Ray Tracer
    • Cartesian Geometry (angle calcs)
  11. Day 11: Space PoliceChallengeJS CodeC# Code (not available)

    • Painter Robot
    • Unicode characters subsituuted for Black and White Pixels
    • TODO: C# / LINQPAD code ( Would be interesting to see the Image capabilities of LinqPad's Dump function)
  12. Day 12: The N-Body ProblemChallengeJS CodeC# Code (not available)

    • N-Body Problem, velocity verlet algorithm (lighter version)
    • Added GCD and LCM calculator functions in JS
    • TODO: C#/Unity for Viz
  13. Day 13: Care PackageChallengeJS CodeC# Code (not available)

    • Arcade machine
    • Very straight forward Solution
    • Has some additional fluff in part 1
    • Can add cool viz for part 2, but not present currently
  14. Day 14: Space StoichiometryChallengeJS CodeC# Code (not available)

    • Fuel Calculations from reactions
    • Accelerated Search Algorithm - Converges on answers exponentially faster.
  15. Day 15: Oxygen SystemChallengeJS CodeC# Code (not available)

    • Path Finding
  16. Day 16: Flawed Frequency TransmissionChallengeJS CodeC# Code (not available)

About

Repository for Advent of Code 2019 Advent calendar of programming challenges. More at https://adventofcode.com/2019/about

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published