mathsoftware

A course about LaTeX and SageMath
git clone https://git.tronto.net/mathsoftware
Download | Log | Files | Refs | README | LICENSE

X1-ComputationalComplexity.vrb (383B)


      1 \frametitle{Fibonacci with memorization}
      2 \begin{adjustbox}{scale={0.85}{0.9},center}
      3 	\begin{tikzcd}[column sep=1mm]
      4 		& & & & & & & & F(5) \ar[drrr] \ar[dlll]\\
      5 		& & & & & F(4)\ar[dll]\ar[dr] & & & & & & {\color{blue}F(3)}\\
      6 		& & & F(3) \ar[dl]\ar[dr] & & & {\color{blue}F(2)}\\
      7 		& & F(2) \ar[dl]\ar[dr] & & {\color{blue}F(1)} \\
      8 		& F(1) & & F(0)
      9 	\end{tikzcd}
     10 	\end{adjustbox}