Skip to content

Instantly share code, notes, and snippets.

View ntankovic's full-sized avatar

Nikola Tanković ntankovic

View GitHub Profile
### lib modul
FEATURES = {}
def feature(name, source):
def wrapper(f):
FEATURES[name] = {
"name": name,
"source": source,
@ntankovic
ntankovic / fib.js
Last active March 3, 2020 09:57
Fibonacci - fast&slow
import express from 'express';
const app = express()
app.get('/fibonacci/:n', (req, res) => {
let fibonacci_slow = (n) => {
if (n == 0) {
return 0
}
else if (n <= 2) {
return 1

Keybase proof

I hereby claim:

  • I am ntankovic on github.
  • I am ntankovic (https://keybase.io/ntankovic) on keybase.
  • I have a public key ASDt0y6TaAX4X6PFA3k0FZ_WsFwKcw0nfvisLZx8Qk_EMQo

To claim this, I am signing this object: