ভারতীয় উপমহাদেশে দ্বৈত শাসন ব্যবস্থার প্রবর্তক-

Updated: 3 months ago
  • ক
    লর্ড কার্জন
  • খ
    লর্ড ক্লাইভ
  • গ
    লর্ড মিল্টো্
  • ঘ
    লর্ড ক্যানিং
431
ব্যাখ্যাঃ

Question:

What is the worst-case time complexity of searching for an element in a balanced Binary Search Tree (BST) containing n nodes?

Options:

        
  • A) O(1)
  •     
  • B) O(log n)
  •     
  • C) O(n)
  •     
  • D) O(n log n)

Correct Answer: B) O(log n)

Detailed Explanation:

In a Binary Search Tree (BST), each node contains at most two children. The elements are arranged so that for any given node, values in the left subtree are strictly smaller, and values in the right subtree are strictly larger.

When searching for an element:

        
  • At each step, the algorithm compares the target key with the current node.
  •     
  • Based on the comparison, the search proceeds either to the left or right subtree, effectively halving the search space at each level.
  •     
  • Because the tree is balanced, the height of the tree is guaranteed to be proportional to log2(n).
  •     
  • Consequently, the maximum number of operations required is equal to the height of the tree, resulting in a worst-case time complexity of O(log n).

Why Other Options Are Incorrect:

        
  • A) O(1): Constant time lookup is characteristic of Hash Tables (under ideal conditions), not tree-based structures where traversal is required.
  •     
  • C) O(n): Linear search time occurs only in an unbalanced or degenerate BST (which behaves like a linked list). However, the problem explicitly states the tree is balanced.
  •     
  • D) O(n log n): This time complexity is typical for efficient comparison-based sorting algorithms (such as Merge Sort or Heap Sort), not single-element lookups.
Satt AI
Satt AI
1 week ago

দিল্লির সম্রাট শাহ আলমের নিকট দেওয়ানি লাভের পর বাংলার নবাবী শাসন ধূলিসাৎ হয়।

নবাবকে বৃত্তিভোগীতে পরিণত করে রবার্ট ক্লাইভ দ্বৈত শাসন প্রবর্তন করেন ১৭৬৫ সালে।

দ্বৈত শাসন ব্যবস্থায় বাংলার নবাবের উপর শাসন ও বিচার বিভাগের দায়িত্ব অর্পণ করা হয়।

ক্লাইভ রাজস্ব আদায় ও প্রতিরক্ষার দায়িত্ব ন্যস্ত করেন কোম্পানির উপর।

দ্বৈত শাসন ব্যবস্থার মারাত্মক পরিণতি হল ছিয়াত্তরের মন্বস্তর।

Related Question

View All
  • ক
    লর্ড কার্জন
  • খ
    লর্ড লিটন
  • গ
    লর্ড রিপন
  • ঘ
    ওয়ারেন হেস্টিংস
351
Updated: 3 months ago
  • ক
    লর্ড বেন্টিঙ্ক
  • খ
    ওয়ারেন হেস্টিংস
  • গ
    লর্ড ক্লাইভ
  • ঘ
    লর্ড কর্নওয়ালিস
5.5k
Updated: 3 months ago
  • ক
    লর্ড কর্নওয়ালিস
  • খ
    লর্ড ক্লাইভ
  • গ
    নবাব মীর কাশেম
  • ঘ
    ওয়ারেন হেস্টিংস
486
Updated: 3 months ago
  • ক
    লর্ড ক্লাইভ
  • খ
    ওয়ারেন হেস্টিংস
  • গ
    উইলিয়ামস হান্টার
  • ঘ
    লর্ড কর্ণওয়ালিস
356
শিক্ষকদের জন্য বিশেষভাবে তৈরি

১ ক্লিকে প্রশ্ন, শীট, সাজেশন ও
অনলাইন পরীক্ষা তৈরির সফটওয়্যার!

শুধু প্রশ্ন সিলেক্ট করুন — প্রশ্নপত্র অটোমেটিক তৈরি!

প্রশ্ন এডিট করা যাবে
জলছাপ দেয়া যাবে
ঠিকানা যুক্ত করা যাবে
Logo, Motto যুক্ত হবে
অটো প্রতিষ্ঠানের নাম
অটো সময়, পূর্ণমান
প্রশ্ন এডিট করা যাবে
জলছাপ দেয়া যাবে
ঠিকানা যুক্ত করা যাবে
Logo, Motto যুক্ত হবে
অটো প্রতিষ্ঠানের নাম
অটো সময়, পূর্ণমান
অটো নির্দেশনা (এডিটযোগ্য)
অটো বিষয় ও অধ্যায়
OMR সংযুক্ত করা যাবে
ফন্ট, কলাম, ডিভাইডার
প্রশ্ন/অপশন স্টাইল পরিবর্তন
সেট কোড, বিষয় কোড
অটো নির্দেশনা (এডিটযোগ্য)
অটো বিষয় ও অধ্যায়
OMR সংযুক্ত করা যাবে
ফন্ট, কলাম, ডিভাইডার
প্রশ্ন/অপশন স্টাইল পরিবর্তন
সেট কোড, বিষয় কোড
এখনই শুরু করুন ডেমো দেখুন
৫০,০০০+
শিক্ষক
৩০ লক্ষ+
প্রশ্নপত্র
মাত্র ১৫ পয়সায় প্রশ্নপত্র
১ ক্লিকে প্রশ্ন, শীট, সাজেশন তৈরি করুন আজই

Complete Exam
Preparation

Learn, practice, analyse and improve

1M+ downloads
4.6 · 8k+ Reviews

Question Analytics

মোট উত্তরদাতা

জন

সঠিক
ভুল
উত্তর নেই