Java How-To : Fibonacci Numbers using Patterns

preview_player
Показать описание

Fibonacci Numbers

GibHub Code
Рекомендации по теме
Комментарии
Автор

This is excellent and really illustrates the impact of different run times

douglas
Автор

Hmmm, memoized is really neat. Combine that with serialization and you got yourself one fast program. Makes me wonder if you could do that for the chess game. HashCode the board state as key and value as minimax score. Serialize that cache. Might be a fun project.

JohanSebastianCorn
visit shbcf.ru