My guilty pleasure nerdy side-project for the weekends.
Coming from Python, my primairy goal is to learn Julia.
- Solve the first fifty problems in both Python and Julia
- Try finding a solution in base Python and Julia before using packages
- Save benchmarks for comparison (
base
vs.base
andpackage
vs.package
) - Try to find subsecond solutions 🚀
- Bonus: one-liner solutions
- Coffee before coding! ☕️
Used hardware : MacBook Air 13.3" (2020) M1, 8GB RAM, 256GB SSD
Benchmark comparisons are available in notebook benchmarks.ipynb
Suggestions to improve approach, code and performance are highly appreciated.
Nr | Problem | Python | Julia | Favourites |
---|---|---|---|---|
51 | Prime Digit Replacements | ✓ | ⭐️ | |
52 | Permuted Multiples | ✓ | ⭐️ | |
53 | Combinatoric Selections | ✓ | ||
55 | Lychrel Numbers | ✓ | ||
56 | Powerful Digit Sum | ✓ | ||
57 | Square Root Convergents | ✓ | ||
58 | Spiral Primes | ✓ | ||
63 | Powerful Digit Counts | ✓ | ||
67 | Maximum Path Sum II | ✓ | ✓ | ⭐️ |
92 | Square Digit Chains | ✓ | ✓ | |
97 | Large Non-Mersenne Prime | ✓ | ||
99 | Largest Exponential | ✓ | ⭐️ |