Java icon indicating copy to clipboard operation
Java copied to clipboard

Consolidate or cross-reference the scattered Fibonacci implementations

Open DenizAltunkapan opened this issue 5 months ago • 4 comments

Description

Fibonacci is implemented across nine files in different packages. Some are genuinely distinct algorithms and should stay separate (searches/FibonacciSearch.java, datastructures/heaps/FibonacciHeap.java, matrix/matrixexponentiation/Fibonacci.java).

But several are just "compute the n-th Fibonacci number" by a slightly different technique, and they are spread out with no link between them:

Proposed change

Group the "n-th Fibonacci" variants together (or at least add a short Javadoc note to each pointing to the others and explaining which technique it demonstrates, e.g. iterative vs. streams vs. closed-form vs. DP). The goal is that a reader can find all approaches from any one of them.

DenizAltunkapan avatar Jun 09 '26 15:06 DenizAltunkapan

hi , can i work on this?

DishaSethi avatar Jun 23 '26 18:06 DishaSethi

@DishaSethi sure, i assigned you

DenizAltunkapan avatar Jun 23 '26 21:06 DenizAltunkapan

hlo,can i work on this

Mahi1215 avatar Jun 26 '26 10:06 Mahi1215

@DenizAltunkapan thank you , sure i will finish it today

DishaSethi avatar Jun 26 '26 10:06 DishaSethi