flutter and other mobile framework
int fib(int n) => (n > 2) ? (fib(n - 1) + fib(n-2)) : 1; void main() { print('fib(20) = ${fib(20)}'); }
https://www.youtube.com/watch?v=bnYJRYFsrSw
https://www.youtube.com/watch?v=tSyXb0sHBoE
參考資料
By jaokuohsuan