Why are Fibonacci numbers significant in computer science?

前端 未结 9 1794
有刺的猬
有刺的猬 2021-01-29 19:43

Fibonacci numbers have become a popular introduction to recursion for Computer Science students and there\'s a strong argument that they persist within nature. For these reasons

9条回答
  •  长发绾君心
    2021-01-29 20:15

    I don't think there's a definitive answer but one possibility is that the operation of dividing a set S into two partitions S1 and S2 one of which is then divided into to sub-partitions S11 and S12, one of which has the same size as S2 - is a likely approach to many algorithms and that can be sometimes numerically described as a Fibonacci sequence.

提交回复
热议问题