in Algorithms
49 views
0 votes
0 votes

What is the returned value by the  given function below.

Algo  fun(n)

{

    If(x<=2) return 1;

     Else {

          Return    fun(n1/2)   +   n; 

     }

}

Note : Assume that all the syntax and data type constraints are valid and just check algorithm. 

in Algorithms
by
49 views

Please log in or register to answer this question.

Related questions