I am writing a Java program which creates sequences and save them. I'm looking for the most fitted data structure to save the sequences. I don't know in advance the length of the series, or how many series I will have, and the series can be in different length.
what structure should I use?