Solve the Fibonacci numbers in a method . Method would accept an index as a parameter and the method would return the Fibonacci number for that index.
Anonymous
used a list and kept inserting until the requested index was met.
Check out your Company Bowl for anonymous work chats.