1.

The running time of an algorithm is represented by the following recurrence relation: if n <= 3 then T(n) = n else T(n) = T(n/3) + cnWhich one of the following represents the time complexity of the algorithm? <pre>(A) (n)(B) (n log n)(C) (n^2)(D) (n^2log n) </pre>(A) A(B) B(C) C(D) D

Answer» None


Discussion

No Comment Found

Related InterviewSolutions