Flowchart (ISO 5807)
Source code
Go
func fib(n int) int {
if n < 2 {
return n
}
return fib(n-1) + fib(n-2)
}The editor opens with this code — change it and the chart redraws.
- Language
- Go
- Constructs
- double recursion
- Topic
- Recursion
- Formats
- Word, Visio, draw.io, PDF, SVG