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

Questions 6-10 of 100

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

Question 6

MCQ · Single Correct 1 mark

What is the amortized time complexity of inserting an element into a dynamic array that doubles its capacity when full?

Answers for question 6

Question 7

MCQ · Single Correct 1 mark

Which of the following functions grow faster than $n^3$ as n approaches infinity?

Answers for question 7

Question 8

MCQ · Single Correct 1 mark

If a lower triangular matrix of size N x N is stored in a 1D array in row-major order, how many total elements are stored?

Answers for question 8

Question 9

MCQ · Single Correct 1 mark

What is the space complexity of an algorithm that uses an auxiliary 2D array of size N x N?

Answers for question 9

Question 10

MCQ · Single Correct 1 mark

Which asymptotic notation represents the formal mathematical definition for the lower bound of an algorithm's running time?

Answers for question 10
Scroll to Top