“…For this purpose, many different algorithms and methods have been introduced to perform pattern, e.g., [2,5,7,[17][18][19] and periodicity detection, e.g., [12,[20][21][22]. Moreover, the past decades have witnessed the utilization of two powerful data structures for time series analysis, namely suffix trees and suffix arrays.…”