C++ examples for Data Structure:Algorithm

Click the following links for the tutorial for Data Structure and Algorithm.

- Program to determine the factorial of a non-negative integer
- Testing the iterative factorial function
- Testing the recursive fibonacci function.
- Demonstrating the recursive function factorial
- Create your own function to round Numbers
- Display digit by digit for an integer value
- Calculate the amount of time in seconds between two times
- Convert Fahrenheit to celsius and celsius to Fahrenheit
- Print the gcd of two integers
- Reverse the digits of a given int
- Print all prime numbers between 2 and 100
- Test whether a number is perfect or not
- Recursively find the gcd of two numbers
- Print the distance between two points
- Recursively solve towers of hanoi
- Non recursively calculate fibonacci to n
- Use Sieve of Eratosthenes to find prime numbers.
- Recursively test if strings are palindromes
- Selection Sort on array
- Calculate Fibonacci numbers.
- Computing Ackerman's function.
- Implements very long integer type