Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
Hi @Anagha Karurkar and welcome to Codewars;
As you can see by the 3 kyu rating, this kata is intended to be a difficult one so it's hard to give you tips/hints without spoiling, especially without knowing what your level is in mathematics/computer science.
If you are new to this area, my recommendation would be to search the Codewars catalogue for the keyword "Fibonacci" - there are 9 other katas in C# that are ranked easier than this one.
By solving them, from easiest to hardest, you should gradually learn about some more and more efficient approaches and maybe pick up some ideas along the way. Then you can return to this one later.
I know loops is bad option when it comes to big numbers.
Tried to use golden ratio . Still not correct answer.
Using c# language to solve this kata.
Does anyone know any other efficient way/ formula?