Program for Fibonacci numbers (Space Otimized Method)
AnswerBot
2mo
Program to generate Fibonacci numbers using space optimized method.
Use two variables to store the last two Fibonacci numbers instead of an array.
Iterate through the sequence by updating the variables ...read more
Help your peers!
Add answer anonymously...
Top Oracle interview questions & answers
Top HR questions asked in Oracle
Stay ahead in your career. Get AmbitionBox app
Helping over 1 Crore job seekers every month in choosing their right fit company
65 L+
Reviews
4 L+
Interviews
4 Cr+
Salaries
1 Cr+
Users/Month
Contribute to help millions
Get AmbitionBox app