Welcome to the Fibonacci and Quick Sort Algorithms console application! This program demonstrates two algorithms: Fibonacci (with normal and smart versions) and Quick Sort (with best-case and worst-case scenarios). The results of the algorithms are saved to a data.txt
file.
-
Fibonacci Algorithm:
- Choose between the normal and smart versions of the Fibonacci algorithm.
- Generate execution times for Fibonacci calculations up to a limit.
-
Quick Sort Algorithm:
- Compare Quick Sort execution times for both sorted and random arrays.
- Vary the array size from 100 to 10,000 to observe best-case and worst-case scenarios.
-
Run Algorithms:
- Execute the smart and normal versions of the Fibonacci algorithm.
- Compare Quick Sort execution times with sorted and random arrays.
-
Data Storage:
- The results, including execution times, are stored in the
data.txt
file.
- The results, including execution times, are stored in the
- Run the application.
- Observe execution times for smart and normal Fibonacci algorithms.
- Compare Quick Sort execution times for best-case (random) and worst-case (sorted) scenarios.
- View the results in the
data.txt
file. - Exit the application when you are done.
Feel free to explore and analyze the performance of Fibonacci and Quick Sort algorithms with this console application!