Fundamentals of Algorithms

Question #50

Read the question, compare the options, and review the correct answer below.

CS502 · Final-term only#50

A p × q matrix A can be multiplied with a q × r matrix B. The result will be a p × r matrix C. There are (p . r)
total entries in C and each takes _________ to compute.

  1. A
    ? O (q)
  2. B
    ? O (1)
  3. C
    ? O (n
    2
    )
  4. D
    ? O (n3
    )
Show correct answer

Correct answer: A. ? O (q)

Check community answers against your course notes.
← More practice questionsTake a timed test