Question
calculate the complexity of the below recursive
code Int f(int n) { If(n return 1; return f(n/2)+f(n/2); }Solution
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 the revised GDP growth forecast for India for FY 2025–26 as per the RBI Monetary Policy Report (October 2025)?
Which of the following statements about the Global Tourism Index 2024 is/are incorrect?
1. India moved up to the 39th spot on the Travel & Touris...
Recently India has overtaken which of the following country to become the world's fifth-largest economy and is now behind only the US, China, Japan and ...
What is the theme of World Press Freedom Day 2024?
Which city received the Ramsar Wetland City Accreditation in 2025?Â
What milestone did UPI achieve in October 2024, and which transaction type primarily drove this growth?
- Which private company is operating the Vizhinjam International Seaport?
India’s first vaccine to prevent Lumpy Disease was developed by which of the following Institute?
Who is the first Indian prime minister to be conferred with the Grand Cross of the Order of Honour by Greece?
INDIA’S first payments Bank is?