Week 2 Discussion Forum

Importance of Time complexity

Importance of Time complexity

by Md.Sirajul Siddique 192-15-2845 -
Number of replies: 0

Time complexity is the number of operations an algorithm performs to complete its task (considering that each operation takes the same amount of time). The algorithm that performs the task in the smallest number of operations is considered the most efficient one in terms of the time complexity. However, the space and time complexity are also affected by  factors such as your operating system and hardware, but we are not including them in this discussion.

75 words