A data structure for a sequence of string accesses in external memory