Skip to content

Using Big O Notation, which calculates execution times as a function of input size depending on the action selected. This C++ project calculates execution times as follows: input number for constant time (0(1)), list of arrays for linear time (O(n)), sort for quadratic time (O(n^2)), and search for logarithmic time (O(log n)).

Notifications You must be signed in to change notification settings

kastilyojl/Time-Complexity

Repository files navigation

Age Computation C++ Console Application - Algorithm & Time Complexity

Constant Time

Description

  • Using Big O Notation, which calculates execution times as a function of input size depending on the action selected, this C++ project calculates execution times as follows: input number for constant time (0(1)), list of arrays for linear time (O(n)), sort for quadratic time (O(n^2)), and search for logarithmic time (O(log n)). I worked on this project as my final output in the integration of my two subjects: object-oriented programming, algorithms, and time complexity.

Pre-requisites

  • Download and Install Microsoft Visual Studio.
  • Microsoft Visiual Studio Tools & Framework
    • Download & Install .Net desktop development inside Microsoft Visual Studio.

Setup

  • Download the files.
  • Open the downloaded files in Microsoft Visual Studio.

Note: Change the value of currentMonth, currentYear, and currentDate in the [Birthday.h] file according to the current complete date.

  • Run the program.

Watch the full video below:

Age Computation in C++ using Microsoft Visual Studio - Algorithm & Time Complexity

You can contact me below:

Happy Coding :)

About

Using Big O Notation, which calculates execution times as a function of input size depending on the action selected. This C++ project calculates execution times as follows: input number for constant time (0(1)), list of arrays for linear time (O(n)), sort for quadratic time (O(n^2)), and search for logarithmic time (O(log n)).

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages