BPSC TRE Data Structures & Algorithms – Full Subject Test 2

Questions 11-15 of 100

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

Question 11

MCQ · Single Correct 1 mark

What is the time complexity of searching for an element in an unsorted 1D array of size N?

Answers for question 11

Question 12

MCQ · Single Correct 1 mark

Ignoring per-entry byte-size differences and measuring storage in scalar entries, approximately what percentage of storage is saved when converting a dense 1000x1000 matrix with 1% non-zero entries to COO triplet representation?

Answers for question 12

Question 13

MCQ · Single Correct 1 mark

What is the recursion time complexity of the Karatsuba fast integer multiplication algorithm?

Answers for question 13

Question 14

MCQ · Single Correct 1 mark

In a lower triangular matrix of size N x N, how many elements below and including the main diagonal are stored?

Answers for question 14

Question 15

MCQ · Single Correct 1 mark

For T(n) = T(n-1) + n with T(1)=1, which asymptotic solution is correct?

Answers for question 15
Scroll to Top