Files
SolutionEuler/solutions/0014.CollatzSeq/readme.md
Sidney Zhang 48f57bd443 feat(eular_12.py):优化质数测试参数并修复组合数计算逻辑
 feat(eular_13.py):新增超大整数加法解决方案
📝 docs(eular_13.md):添加算法说明文档
 feat(eular_14.py):新增Collatz序列最长链计算
📝 docs(eular_14.md):添加性能优化说明
 feat(eular_15.py):新增网格路径组合数学解法
📝 docs(eular_15.md):添加组合数学详细说明
 feat(eular_16.py):新增幂数字和计算功能
 feat(eular_16.hs):新增Haskell版本实现
2025-12-17 16:02:06 +08:00

4 lines
295 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

暴力试算,虽然总能解决问题,但是要损耗时间。有的时候没什么好想法的时候,的确可以用来作为解法。
但是从hash列表的角度来说已经计算过的数值可以用来避免重复计算提高效率。
这一点还是很值得记录的。