lundi 29 décembre 2014

Difference between O(n) and O(n^2) and what is best/worst/average case for an algorithm


What is the difference between O(n) and O(n^2). when comparing both these orders which one is best case. Kindly suggest what is best case/worst case/average case and how can we find out for an algorithm. Thanks in advance





Aucun commentaire:

Enregistrer un commentaire