摘要: 为什么是斐波那契数列 斐波那契数列十分适合用来实战rust的迭代器,算法也很简单,一目了然。这个例子可以用来学习Iterator的使用,十分适合刚学习了rust的迭代器章节后用来练练手。 代码实战 don't bb, show me the code struct Fib(usize, usize) 阅读全文
posted @ 2022-02-05 00:33 yihailin 阅读(272) 评论(0) 推荐(0) 编辑