Datastructure
It does not make sense to have a overall data structure because one has to parse that later on. This is why it makes more sense to have a individual data structure and to use different data models.
I think it makes much more sense to have a database for each algorithm.