calculate the complexity of the below recursive code
Int f(int n)
{
If(n
return 1;
return f(n/2)+f(n/2);
}
Here the function is recursively calling on f(n/2) twice and also one line for the condition when n=0. Hence 1 is the correct choice.
What is included in the term "promissory note" as per the Government Securities Ac?
Which of the following are punishments under Section 4 of the Bharatiya Nyaya Sanhita?
Where both the parties to an agreement are under a mistake as to a matter of fact essential to the agreement, the agreement is__________________
Which of the following is not included in Section 8 of the Indian Evidence Act?
Any police officer making an investigation can:
Which of the folbwing section of Cr. P.C is related with the withdrawal of prosecution ?
Language to be used by Arbitral Tribunal is determined by parties as per S. ?
What is the pecuniary jurisdiction of District Commission?
Ombudsman institution was first introduced in ?
The term International Law was first coined by-