• 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. Assembly Language
  2. High-Level Language
  3. Machine Language
  4. Scripting Language
اس سوال کو وضاحت کے ساتھ پڑھیں

کمپیوٹر کی پہلی زبان کون سی تھی؟
  1. Pascal
  2. BASIC
  3. Cobol
  4. Fortron
اس سوال کو وضاحت کے ساتھ پڑھیں

درج ذیل میں سے آپریٹنگ سسٹم کی مثال کون سی ہے؟
  1. Photoshop
  2. MS Windows
  3. MS Word
  4. None of these
اس سوال کو وضاحت کے ساتھ پڑھیں

مندرجہ ذیل میں سے کون سا کلائنٹ آپریٹنگ سسٹم ہے؟
  1. Windows Server 2016
  2. Windows Server 2012
  3. Windows 10
  4. None of these
اس سوال کو وضاحت کے ساتھ پڑھیں

اسکرین کی تصویر کو کلپ بورڈ پر کاپی کرنے کے لیے کیا استعمال کرسکتےھیں۔
  1. Print screen key
  2. Alt key
  3. Both
  4. Shift key
اس سوال کو وضاحت کے ساتھ پڑھیں

All Rights Reserved © TestPointpk.com