![]() Related Questions which of the following is not primitive recursive but computable ? 1. Carnot function 2. Riemann function 3. Bounded function 4. Ackermann function I had following question paper for data structures on 29th Oct, 2007. There were total 10 questions in the engineering paper to be done in 1 hr. I remember only 9 of those:1. A binary search tree was given. Latest Answer : Ans for 1: The node number 4 contains the 4th smallest value. ... Explain how performance of algorithm is analysed? Latest Answer : The performance of an algorithm is analysed by the time complexity as well as its space complexity though both the complexities are trafe-offs between them. If time complexity increases then space complexity decreases & vice-versa. Also the best & ... Explain how recursive algorithm is converted into recurrence relation with example. Latest Answer : Say we want to represent the following recursionint recurse(int a){ return a+recurse(a-1);}x={x|x=a(a+1)/2} for all a ... Write an algorithm to calculate the number of items in a static queue? Latest Answer : [F=front, R=rear, P= pointer, q[] is the array variable] Algorithm: if F != R P= F count = 0 while(P
Sponsored Links
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||