• Call Us : 03082533000 (WhatsApp)
  • Email Us : TestPointpk.com@gmail.com
Sticky Note
Which sorting algorithm has the best worst-case time complexity?
بدترین حالت میں وقت کی پیچیدگی کے لحاظ سے سب سے بہتر ترتیب دینے کا طریقہ کون سا ہے؟
  1. Merge Sort
  2. Bubble Sort
  3. Selection Sort
  4. None of these
Explanation
  • Merge Sort has the best worst-case time complexity: O(n log n).
  • It uses the Divide and Conquer technique.
  • It divides the array into smaller parts, sorts them, and then merges them.

Additional information:

  • Bubble Sort: O(n²)
  • Selection Sort: O(n²)
  • Insertion Sort: O(n²) (worst case)
  • Quick Sort: O(n²) (worst case), O(n log n) (average)

Last verified on 18-07-2026

Related MCQs

سمورغ نامی سپر کمپیوٹر کس ملک نے تیار کیا ہے؟
  1. China
  2. Japan
  3. Iran
  4. None of these
اس سوال کو وضاحت کے ساتھ پڑھیں

سی پی یو کے اندر کون سی میموری نصب ہوتی ہے؟
  1. RAM
  2. ROM
  3. Register
  4. None of these
اس سوال کو وضاحت کے ساتھ پڑھیں

ورلڈ وائیڈ ویب کو رابرٹ کیلِیو کے ساتھ کس نے ایجاد کیا؟
  1. Tom Burne
  2. Tim Burner Lee
  3. Fred Zuckerberg
  4. Both a and b
اس سوال کو وضاحت کے ساتھ پڑھیں

مصنوعی ذہانت کا بانی کسے کہا جاتا ہے؟
  1. Mark Zuckerberg
  2. Alan Turing
  3. John McCarthy
  4. Bill Gates
اس سوال کو وضاحت کے ساتھ پڑھیں

کمپیوٹر گرافکس کا بانی کسے کہا جاتا ہے؟
  1. Charles Babbage
  2. Alan Turing
  3. Ivan Sutherland
  4. None of these
اس سوال کو وضاحت کے ساتھ پڑھیں

All Rights Reserved © TestPointpk.com