https://github.com/joseluisq/fibonacci-sequence
Examples of The Fibonacci Sequence in some programming languages for learning purposes.
https://github.com/joseluisq/fibonacci-sequence
clang code-examples cpp fibonacci-sequence haskell java lua rust-lang
Last synced: 3 months ago
JSON representation
Examples of The Fibonacci Sequence in some programming languages for learning purposes.
- Host: GitHub
- URL: https://github.com/joseluisq/fibonacci-sequence
- Owner: joseluisq
- License: apache-2.0
- Created: 2019-12-17T23:31:13.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-11-08T14:33:33.000Z (over 4 years ago)
- Last Synced: 2024-04-14T04:23:30.731Z (about 1 year ago)
- Topics: clang, code-examples, cpp, fibonacci-sequence, haskell, java, lua, rust-lang
- Language: Makefile
- Homepage:
- Size: 25.4 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE-APACHE
Awesome Lists containing this project
README
# Fibonacci Sequence 🐌
> Examples of [The Fibonacci Sequence](https://wiki.haskell.org/The_Fibonacci_sequence) in some programming languages for learning purposes.
## Complexity
```sh
O(50) = 12586269025
```## Code examples
### Compiled languages
| Language | Command |
|----------|-------------|
| [C](https://en.wikipedia.org/wiki/C_(programming_language)) | `make c` |
| [C++](https://isocpp.org/) | `make cpp` |
| [Haskell](https://www.haskell.org/) | `make hs` |
| [Rust](https://www.rust-lang.org/) | `make rs` |
| [Go](https://golang.org/) | `make go` |
| [Java](https://www.oracle.com/java/) | `make java` |
| [Kotlin](https://kotlinlang.org/) | `make kt` |
| [V](https://vlang.io/) | `make v` |### Scripting languages
| Language | Command |
|----------|-------------|
| [Lua](https://www.lua.org/) | `make lua` |
| [Julia](https://julialang.org/) | `make jl` |
| [Python](https://www.python.org/) | `make py` |
| [Ruby](https://www.ruby-lang.org/en/) | `make rb` |## References
- [labuladong/fucking-algorithm - Analysis of Dynamic Programming / Fibonacci sequence](https://labuladong.gitbook.io/algo-en/i.-dynamic-programming/analysisofdynamicprogramming#1-fibonacci-sequence)
## Contributions
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in current work by you, as defined in the Apache-2.0 license, shall be dual licensed as described below, without any additional terms or conditions.
Feel free to send some [Pull request](https://github.com/joseluisq/fibonacci-sequence/pulls) or [issue](https://github.com/joseluisq/fibonacci-sequence/issues).
## License
This work is primarily distributed under the terms of both the [MIT license](LICENSE-MIT) and the [Apache License (Version 2.0)](LICENSE-APACHE).
© 2020-present [Jose Quintana](https://git.io/joseluisq)