the remainder of this section explains two applications of the lcp array in more detail: how the suffix array and the lcp array of a string can be used to construct the corresponding suffix tree and how it is possible to answer lcp queries for arbitrary suffixes using range minimum queries on the lcp array.