-
Notifications
You must be signed in to change notification settings - Fork 0
Feat/2020 day 07 #128
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feat/2020 day 07 #128
Conversation
…gold bag Solution for part 1
Codecov Report
@@ Coverage Diff @@
## master #128 +/- ##
==========================================
+ Coverage 93.10% 93.45% +0.35%
==========================================
Files 30 32 +2
Lines 1044 1100 +56
==========================================
+ Hits 972 1028 +56
Misses 72 72
Continue to review full report at Codecov.
|
…ng debugging noise
solution for part 2
Solves part 2 Logic was overly complicated. Refactoring to pass the multiplier through each level made the recursion much simpler (multiplying can be done before returning to parent). Reduces code, and fixes the bug that was showing up in real data but not showing up with test data.
|
🎉 This PR is included in version 1.13.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
Solution for part 1