Skip to content

Latest commit

History

88 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

AdventOfCode

Repository to store the solutions for the problems of AdventOfCode. Doing it in Apex, challenge accepted!

Goal

Within Deloitte an internal competition is ongoing, with a real Salesforce hoodie at stake! So get ready :).

Repository

Since the repo might look a little complex / full, please find some useful hooks in the Table of Content below.

2021

Below is an overview of all exercises, their title and solution description. Per exercise the Solution is described by language used, where default is Apex and only some have Javascript in case it wasn't possible to bypass the Apex CPU Time Limit. Then it was always tried with Queueables but due to DEV Org restriction of only queueing 5, this would also be still restricted to 300 seconds in total.

DayNameDescriptionSolution
01Sonar SweepIncrease/Decrease DetectionApex & Excel
02Dive!Submarine ControlApex & Excel
03Binary DiagnosticMost/Least Common Binary DigitApex & Excel
04Giant SquidBingo BoardsApex & Excel
05Hydrothermal VentureOverlapping Line SegmentsApex
06LanternFishPopulation GrowthApex & Excel
07The Treachery Of WhalesCrab Alignment Fuel CostsApex & Excel
08Seven Segment SearchDigit Display/Segment DecodingApex
09Smoke BasinLowestPoint Basin sizesApex & Excel (p1)
10Syntax ScoringBrackets (corrupt lines & auto-complete)Apex
11Dumbo OctopusEnergy Flash Level simulationsApex
12Passage PathingFinding ALL Possible PathsApex
13Transparent OrigamiFolding MatricesApex
14Extended PolymerizationLetter Duple injectionsApex
15ChitonShortest Path (Dijkstra & Priority QueueApex: input prepare part 1
JS: part 1 & part 2
16Package DecoderHexa Binary (subpackage) ConverterApex
17TrickShotProbe Orbit simulationApex
18SnailfishExploding/Split sums in TreesApex (Future)
19BeaconScannerCoordinate RotationApex (Queueable)
20Trench MapImage EnlightmentApex
21Dirac DiceQuantum Die Player WinsApex (Queueable): part 1
JS: part2
22Reactor RebootDistinct Cube CoordinatesApex (Future)
23AmphipodsRelocating rooms to groupManual
24Arithmetic Logic UnitModel code generator & validatorApex
25Sea Cucumber(Snake) Move till stuckApex (Queuable): Full
JS: Full

Cheers!

Reinier van den Assum https://www.foxy-solutions.com

About

Repository to store the solutions for AdventOfCodes. 2021 in Apex, 2022 a mix, 2023 in JS, challenge accepted!

Resources

Stars

2 stars

Watchers

1 watching

Forks

Used by

Contributors

Languages