Home
SELF STUDY
BrowsePracticeTestsPlaylistDoubts & solutionsFree live classesOther courses

Programming Constructs

Quick practice

Question 1 of 5

What will be the time complexity of function, T(m, n) =m+n+ 2T(\lceil \frac{m}{2} \rceil, \lceil \frac{n}{2} \rceil)

A

\mathcal{O}(m\log{n})

B

\mathcal{O}(\log{n m})

C

\mathcal{O}(m\log{(n + m)})

D

\mathcal{O}((m + n)\log{(n + m)})

Get unlimited practice with Competitive Programming subscription

pick

Boost your performance with adaptive practice tests

pick

Practice every concept in the syllabus

pick

Compare your speed and accuracy with your peers

pick

Download the app and practice on the go