6 ms·
"Random high-level items" is not much of an algo.
"Random high-level items" is not much of an algo.
So you weren't talking about the index containing every word in the book? Or, if you were, isn't that be exactly what the most naive indexing algorithm would do?
Even bubble sort is an algorithm...
I don't think you understand what an algorithm is.