• Call Us : 03082533000 (WhatsApp)
  • Email Us : TestPointpk.com@gmail.com
Sticky Note
Which data structure is best for implementing a priority queue?
ترجیحی قطار کو نافذ کرنے کے لئے کون سا ڈیٹا ڈھانچہ بہترین ہے؟
  1. Hash Table
  2. Heap
  3. Stack
  4. None of these
Explanation

A heap efficiently supports priority queue operations like insertion and extraction of the highest (or lowest) priority element.

Common types include min-heap and max-heap, which maintain the heap property for fast access to priority elements.

Related MCQs

کمپیوٹر سسٹم تک رسائی حاصل کرنے کے لیے استعمال ہونے والے کوڈ شدہ اندراجات کو کیا کہا جاتا ہے؟
  1. Entry Codes
  2. Passwords
  3. Security Commands
  4. None of these
اس سوال کو وضاحت کے ساتھ پڑھیں

ایک مضبوط پاس ورڈ کن چیزوں کا مجموعہ ہونا چاہیے؟
  1. Only alpha numeric characters
  2. Only special characters
  3. Alpha numeric characters and special characters
  4. None of these
اس سوال کو وضاحت کے ساتھ پڑھیں

ای میل میں "سی سی" کا مطلب کیا ہے؟
  1. Cut Copy
  2. Common Copy
  3. Combined Copy
  4. Carbon Copy
اس سوال کو وضاحت کے ساتھ پڑھیں

فلیش میموری کس کی ایک مخصوص قسم ہے؟
  1. Electrically Erasable Programmable ROM
  2. Programmable ROM
  3. Erasable Programmable ROM
  4. None of these
اس سوال کو وضاحت کے ساتھ پڑھیں

بل گیٹس کس کمپنی کے شریک بانی ہیں؟
  1. Yahoo
  2. Google
  3. Facebook
  4. Microsoft
اس سوال کو وضاحت کے ساتھ پڑھیں

All Rights Reserved © TestPointpk.com