Xpode.com        Click here to Print this article.

Basic Concepts - Need of measuring the complexity of an algorithm

There can be several algorithms to solve a particular problem. So to choose one out of them, we have to measure the complexity of algorithm. For that the following things will have to be considered:

1. Performance requirements i.e. time complexity.

2. Memory requirements i.e. space complexity.



http://
http://

Contributed by:
Ritika Sood
Lecturer in computer science....Love to do programming...Other interests are sports, freaking out with frnds, travel at beautiful places, watch movies, listen songs....

Resourse address on xpode.com
http://www.xpode.com/Print.aspx?Articleid=122

Click here to go on website