Recursion, sorting and searching, linked lists, stacks, queues, binary search trees and graphs, each implemented from scratch and paired with an animated demo. The algorithms run in a Java desktop app ...
这篇文章不是教科书式的数列定义科普,而是我这些年从刷题、面试、到实际项目中反复跟Fibonacci打交道之后,沉淀下来的一套完整认知框架。我会从最朴素的递归写法开始,一步步拆解到矩阵快速幂、通项公式、以及在大数场景下的工程化处理方案。每一种解法我都会给出可运行的代码、复杂度 ...