# Search:

Type: Posts; User: Revati

1. ## Thread: Recursion ouput is not coming for value more than 40.

by Revati
Replies
12
Views
809

### Re: Recursion ouput is not coming for value more than 40.

there is no exception coming..
2. ## Thread: Recursion ouput is not coming for value more than 40.

by Revati
Replies
12
Views
809

### Re: Recursion ouput is not coming for value more than 40.

Yes.. I waited around 20 min..Can I write this code using recursion better way?efficient?
3. ## Thread: Recursion ouput is not coming for value more than 40.

by Revati
Replies
12
Views
809

### Re: Recursion ouput is not coming for value more than 40.

My computer is very slow.Is it running at your end for value 50?
4. ## Thread: Recursion ouput is not coming for value more than 40.

by Revati
Replies
12
Views
809

### Re: Recursion ouput is not coming for value more than 40.

oh sorry no,it is f(1) =1 only.
sorry for that typing mistake.

I have not yet tried iterative way.
5. ## Thread: Recursion ouput is not coming for value more than 40.

by Revati
Replies
12
Views
809

### Re: Recursion ouput is not coming for value more than 40.

Is there anything wrong in this code?
6. ## Thread: Recursion ouput is not coming for value more than 40.

by Revati
Replies
12
Views
809

### Re: Recursion ouput is not coming for value more than 40.

I have written this code.NO there is no description.Expression was

f(n) =f(n-1)+f(n-2)+f(n-3)

Base case was f(0)=1,f(1)=2,f(2)=1

Question was to write code in java or any object oriented...
7. ## Thread: Recursion ouput is not coming for value more than 40.

by Revati
Replies
12
Views
809

### Re: Recursion ouput is not coming for value more than 40.

Hi..Thank you for reply but I waited for around 20 min.
8. ## Thread: Recursion ouput is not coming for value more than 40.

by Revati
Replies
12
Views
809

### Recursion ouput is not coming for value more than 40.

Hello All,

I have written following code using recursion.It is working however it is not giving me ouput for value 50.Infact nothing is display when I enter number greater than 40.

import...
9. ## Thread: Hi Recursion method in java does not give output for big values.

by Revati
Replies
2
Views
380

### Hi Recursion method in java does not give output for big values.

Hello All,

I have written following java program using recursion.It is working however it is not giving me ouput for value more than 45..
I want to find answer for value 50.