I have some sequences as these
(100) - (102) - (103) - (104,106) - (108)
(101) - (103)
(102) - (106)
there is some efficient implementation an prefix tree or fp-tree or similar in C + +?
I don't understand what are you saying... But if you need to build a FP tree here is best page I've found