Aspire Faculty ID #17373 · Topic: CUET MCA 2026 · Just now
CUET MCA 2026

Which algorithm have same order of complexity

A. Deletion from Queue

B. Worst case search in binary search tree

C. Insertion in stack

D. Quick sort worst case

Options:

(a) C, D

(b) A, C

(c) A, B

(d) B, C

Solution

Deletion from Queue → O(1)
Worst case search in Binary Search Tree → O(n)
Insertion in Stack → O(1)
Quick Sort worst case → O(n2)

Same order complexity:
Deletion from Queue and Insertion in Stack → O(1)

Correct Answer: (b) A, C

Previous 10 Questions — CUET MCA 2026

Nearest first

Next 10 Questions — CUET MCA 2026

Ascending by ID
Ask Your Question or Put Your Review.

loading...