View Code? Open in Web Editor
NEW
Java desktop application to find Nth Fibonacci number
fibonaccigenerator's Introduction
💬 Ask me about Python, Java, Data Structures, Algorithms, Ethereum blockchain, Solidity
📝 I write technical articles on GeeksforGeeks, Medium and Hashnode
📫 How to reach me: Linkedin
⚡ Fun fact: Likes 💻computer💻, technology, 📱gadgets🖥️, cycling🚴♀️, painting🎨, nature🍀🌼☘️🌷
fibonaccigenerator's People
Contributors
Stargazers
Watchers
fibonaccigenerator's Issues
Location
File: FibonacciGenerator.java
Method Name: generateFib()
Problem:
The current implementation uses an array to store previous numbers
which for this program is not required hence is a memory lag.
Solution:
Use three variables to store before previous , previous , and current numbers only and calculate the next numbers
based on these variables.
Location
File Name: FibonacciGenerator.java
Line: 35
Problem:
Contains a absolute path for the window icon in the developers directory instead of a relative
path which would have made the code reproducible across different environments.
Probable Solution(s):
Upload the requisite image and change the absolute path to a relative path.
(or) Remove the need for an window icon