3.1. Initial Perl Version - Flat List
Contents
Up
Prev
Next
Freecell Solver - Evolution of a C Program
→
Evolution of the States' Collection
→
Initial Perl Version - Flat List
An unordered list of states.
Insertion is O(1), but lookup is O(n).
Dirt Slow.
As a general rule O(n) lookup is a very bad idea.
Contents
Up
Prev
Next
Written by
Shlomi Fish