day 6 complete!
This commit is contained in:
@@ -6,9 +6,12 @@ But it was also brute force - literally stepping through each possible combinati
|
||||
|
||||
ATM (11:30p Wed), I've got an algorithm that tries to create the highest value number by pulling out numbers in reverse numerical order, but it isn't _quite_ working. My current hope is to come at it fresh tomorrow when I also tackle puzzle 4.
|
||||
|
||||
_UPDATE:_ Two days later, and I finally figured out the algorithm I needed to get the value. I thought I had it with an overcomplicated function that tried to count down from right to left, but in the end, the solution wound up being much simpler.
|
||||
|
||||
### JS Solutions
|
||||
|
||||
```
|
||||
cd js
|
||||
node day03a.js
|
||||
node day03b.js
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user