mxssl / FibonacciGolang

Fibonacci sequence implementation in Go (Golang).

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fibonacci sequence

Fibonacci sequence implementation in Go (Golang).

Time complexity: O(n)

Space complexity: O(1)

$ go test -v ./...
=== RUN   TestCase1
--- PASS: TestCase1 (0.00s)
=== RUN   TestCase2
--- PASS: TestCase2 (0.00s)
PASS
ok      github.com/mxssl/FibonacciGolang        0.005s

About

Fibonacci sequence implementation in Go (Golang).


Languages

Language:Go 100.0%