428 views
0 votes
0 votes
int x = 0;

int f(n)

{

      if(n == 1) return;

      else

      {

           x += 4*A(n/2) + n^2

           return X;

     }

What will be the recurrence relation and time complexity ??

Please log in or register to answer this question.

Related questions

415
views
0 answers
0 votes
Rajsukh Mohanty asked Jan 6, 2023
415 views
Which of the following statements is/are true?The language denoted by the regular expression (ϕ*)* is ϵThe language denoted by the regular expression a ϕ is ϕThe regular ... epsilon (ϵ) is not an empty set. And option 4 is True, right?
276
views
1 answers
0 votes
Abhishek Kumar 38 asked Nov 28, 2018
276 views
Given L = { $a^{n}b^{n}c^{n} | 1 \leq n \leq 10^{6}$ }$L^{c}$ is ______CSL but not CFL​​​​​​CFL but not DCFLDCFL but not regularRegular
318
views
1 answers
1 votes
1.4k
views
0 answers
1 votes
aambazinga asked Aug 19, 2018
1,382 views
suppose that a graph G has MST already computed. How quickly can we update the MST if we add a new vertex and incident edges to it.I know for the ... we can reuse part of the DFS that we had already computed before detecting each cycle.