 In other words, we can use them in an analogous way as arrays are used in programming.But sometimes we need dynamically stretching sequences, or we need to deal with sequences whose length cannot be typed in a static way.In other words, we may encode sequences in an analogous way to lists in programming.