BPSC TRE – Data Structures & Algorithms | Full Subject Test 1

Questions 31-35 of 100

0% completed (0/100 answered)
Your score 0/100 0 answered
Correct 0 Incorrect 0 Unanswered 100 Accuracy 0%

Question 31

MCQ · Single Correct 1 mark

In an array implementation of a Queue, what problem occurs when elements are repeatedly dequeued and enqueued without circular wrapping?

Answers for question 31

Question 32

MCQ · Single Correct 1 mark

What is the worst-case time complexity of finding the maximum element in a standard Stack of size n?

Answers for question 32

Question 33

MCQ · Single Correct 1 mark

What is the time complexity of Enqueue and Dequeue operations in a Priority Queue implemented using a Binary Max-Heap?

Answers for question 33

Question 34

MCQ · Single Correct 1 mark

Which type of recursion can be converted directly into an iterative loop with equivalent asymptotic time and reduced stack usage when tail-call optimization is applied?

Answers for question 34

Question 35

MCQ · Single Correct 1 mark

Which of the following is the result of the prefix expression * + 2 3 4?

Answers for question 35
Scroll to Top