- Original Message -
> Hi
>
> I have a list of data that presents as:
>
> timestamp: value
>
> Timestamps are used solely to determine the sequence of items in the
> list.
>
> I want to find the longest repeated sequence of values in the list.
> Example, in the following list:
>
> data
On 2013-12-18 03:51, Denis McMahon wrote:
> I need to keep the timestamp / data association because I need to
> generate output that identifies (a) the longest repeated sequence
> (b) how many elements in the longest repeated sequence (c) at what
> timestamps each occurrence started.
>
> I'm not
Hi
I have a list of data that presents as:
timestamp: value
Timestamps are used solely to determine the sequence of items in the list.
I want to find the longest repeated sequence of values in the list.
Example, in the following list:
data = { 0: "d", 1: "x", 2: "y", 3: "t", 4: "d", 5: "y", 7