Algorithms whose running time follows that nested pattern are called:
AQuestioned time
BQuadratic time
CQualified time
DQuantified time
Answer & Solution
Correct answer: B. Quadratic time
1. The cost grows as the square of the input size.
2. A squared relationship has a standard name.
3. Such algorithms are quadratic time.
_Source: syllabus Computer Science Class XII, Chapter 5, Sorting._
Keep practising Sorting Algorithms
Browse all Sorting Algorithms questions for Engineering — Tanzania, or explore more Computer Science topics.