Simple autocomplete solution - single threaded, stingy memory usage, suited for low resource configurations (typical cloud instances)