Skip to content

Instantly share code, notes, and snippets.

View bilalobe's full-sized avatar
😇

BILAL ELKHATABI bilalobe

😇
  • 04:43 (UTC -12:00)
View GitHub Profile
@bilalobe
bilalobe / fibonacci.go
Created June 11, 2024 18:26
lake mead marina boat fire
package main
func fibonacci(n int) int {
a, b := 0, 1
for i := 0; i < n; i++ {
a, b = b, a+b
}
return a
}