• Call Us : 03082533000 (WhatsApp)
  • Email Us : TestPointpk.com@gmail.com
Sticky Note
What is the time complexity of searching for an element in a balanced binary search tree?
متوازن بائنری سرچ ٹری میں کسی عنصر کی تلاش میں وقت کی پیچیدگی کیا ہے؟
  1. O(1)
  2. O(n)
  3. O(log n)
  4. None of these
Explanation
  • In a balanced binary search tree, the height is proportional to log n, ensuring efficient searches.
  • The time complexity is O(log n) as the search halves the tree at each step.
  • Last verified on 23-03-2026
  • Related MCQs

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

    1. Cannot be determined
    2. Data inadequate
    3. Both A and B
    4. None of these
    اس سوال کو وضاحت کے ساتھ پڑھیں

    کمپیوٹرز کے درمیان ڈیٹا کی منتقلی کس کے ذریعے کی جاتی ہے؟
    1. Protocol
    2. Data Bus
    3. Both A and B
    4. None of these
    اس سوال کو وضاحت کے ساتھ پڑھیں

    کون سا پروگرام کمپیوٹر کے کام کرنے کو سمجھنے اور منظم کرنے میں مدد کرتا ہے؟
    1. FIFO
    2. OS
    3. SS
    4. None of these
    اس سوال کو وضاحت کے ساتھ پڑھیں

    1. 2 bytes
    2. 4 bytes
    3. 8 bytes
    4. 16 bytes
    اس سوال کو وضاحت کے ساتھ پڑھیں

    All Rights Reserved © TestPointpk.com