Multiple Choice
If a problem of size n requires time that is directly proportional to n,the problem is ______.
A) O(1)
B) O(n)
C) O(n²)
D) O(2ⁿ)
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q3: In the worst case,how many comparisons are
Q4: The value of which of the following
Q5: The recursive binary search algorithm is a
Q6: What is measured by an algorithm's growth
Q7: In the best case,a sequential search is
Q9: What measurements are parts of a program's
Q10: Assuming a linked list of n nodes,the
Q11: In the worst case,a binary search is
Q12: What is determined by worst-case analysis?
Q13: An algorithm's execution time is related to