samedi 30 avril 2016

String Compress

I am doing a data analysis in which I have the event sequence as string. EventA - Event B - Event B - Event B - Event C - Event A. I want to find the pattern as Event A - Event -B -Event A.

It becomes complex when the data is Event A - Event B - Event C - Event B - Event C - Event D needs to reported as Event A - Event B - Event C - Event D.

Could you help me solving this.

Aucun commentaire:

Enregistrer un commentaire