Skip to content
evilrix

evilrix

Mostly Coding

  • About
  • Copyright

Month: December 2012

Coding the Fibonacci Sequence

01/12/201213/09/2017 ~ evilrix ~ Leave a comment

Introduction

In this tutorial we’re going to look at how to calculate the Fibonacci numbers in code. We’ll use two different approaches to this, iterative and recursive, and we’ll examine the pros and cons of both. This tutorial assumes you already know what the Fibonacci numbers are and so I make no attempt to explain the maths behind them.

Continue reading “Coding the Fibonacci Sequence” →

Posts navigation

Newer posts

My Résumé

  • Facebook
  • X
  • Threads
  • Last.fm
  • Spotify
  • Goodreads
  • Instagram
  • Medium
  • GitHub
  • LinkedIn

Subscribe

 Subscribe to feed

Search

Categories

  • Coding
  • Personal
  • Tutorials

Tags

algorithms boost c++11 cpp data structures humour irc oop opinion python rant spam templates unicode work

Recent

  • Bloom Filters
  • When is Unicode not Unicode? When Microsoft gets involved!
  • C / C++ main function prototypes
  • C++ Catching exceptions in constructors
  • C++ Throwing exceptions from destructors

Archives

  • October 2017
  • May 2015
  • April 2015
  • February 2014
  • November 2013
  • October 2013
  • September 2013
  • August 2013
  • July 2013
  • May 2013
  • February 2013
  • January 2013
  • December 2012
  • November 2012
  • October 2012
  • September 2012

Enter your email address to follow this blog and receive notifications of new posts by email.

Join 36 other subscribers

Recent Comments

Briana Cooper's avatarBriana Cooper on A sad day for scrobbles e…
Kelly's avatarKelly on Determining if a C++ type is c…
Paula's avatarPaula on The Cookie Monster!
Zbynek Novotny's avatarZbynek Novotny on Functional programming using…
Unknown's avatarFirst Direct passwor… on Is your password salty en…

Meta

  • Create account
  • Log in
  • Entries feed
  • Comments feed
  • WordPress.com
Blog at WordPress.com.
  • Subscribe Subscribed
    • evilrix
    • Already have a WordPress.com account? Log in now.
    • evilrix
    • Subscribe Subscribed
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar