且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何将以下内容转换为尾递归过程?

更新时间:2023-12-02 16:10:28

您正在谈论建立尾部递归变换以计算斐波那契数的示例.您可以在 SICP的本章.

You are talking about established example of tail recursive transformation for computing Fibonacci numbers. You can find excellent description with code samples at this chapter of SICP.