Aspire Faculty ID #12080 · Topic: CUET 2025 · Just now
CUET 2025

In __________the search time is independent of the number of elements n.

Solution

We need to find the search method where the search time is independent of the number of elements \(n\).

• Binary Search: Time complexity \(O(\log n)\). Depends on \(n\). ❌
• Hashing: Average case \(O(1)\). Independent of \(n\) (worst case \(O(n)\)). ✅
• Linear Search: Time complexity \(O(n)\). Depends on \(n\). ❌
• Jump Search: Time complexity \(O(\sqrt{n})\). Depends on \(n\). ❌

Therefore: \[ \text{Correct Answer: Hashing (Option 2).} \]

Previous 10 Questions — CUET 2025

Nearest first

Next 10 Questions — CUET 2025

Ascending by ID
Ask Your Question or Put Your Review.

loading...