Skip to content

Instantly share code, notes, and snippets.

Karl Becker karlbecker

Block or report user

Report or block karlbecker

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@karlbecker
karlbecker / NSURLComponents+QueryItemsDictionary.m
Last active Jan 21, 2016
NSURLComponents queryItems as an NSDictionary
View NSURLComponents+QueryItemsDictionary.m
//
// NSURLComponents+QueryItemsDictionary.m
// browzine
//
// Created by Karl Becker on 1/20/16.
// Copyright © 2016 Third Iron. All rights reserved.
//
// Requires https://github.com/grav/nsarray-functional
#import <Foundation/Foundation.h>
View fib
Write an implementation of the fibonacci function.
The fibonacci function is defined as follows:
It is a function that takes one parameter, n
and returns the nth number in the fibonacci sequence.
The fibonacci sequence is the sequence of numbers,
beginning with zero and then one, where all succeeding
numbers in the sequence are the sum of the previous two
numbers.
You can’t perform that action at this time.