Blog Posts - Algorithm / Data Structure

Fibonacci Number in C using Recursive Function

A recursive function is a function that calls itself during its execution. read more...
by JR Galia on Apr 14, 2010

Factorial Program in C++

The factorial of a positive integer n, denoted by n!, is the product of all positive integers less than or equal to n. For example, 6! = 1 x 2 x 3 x 4 x 5 x 6 = 720.   read more...
by JR Galia on Apr 13, 2010

Fibonacci Sequence - C program

I edit my previous post in fibonacci number to display the sequence up to nth number. I still used array to implement this problem. Future post will be fibonacci sequence using recursive function. read more...
by JR Galia on Apr 11, 2010

Fibonacci Number - C Program

Fibonacci sequence/series is a sequence of numbers in which each successive number is equal to the sum of the preceding numbers. The nth fibonacci number is: fib(n) = fib(n-1) + fib(n-2); where fib(1) = 1 and F(2) = 1, The first five numbers are 1...
by JR Galia on Apr 10, 2010

Trending Topics