title: Suffix array/suffix tree with numbers
body: <p>Can suffix trees or suffix arrays be used effectively with numbers?</p>
  
  <p>For example:</p>
  
  <p>Can it be used with the array <code>[1,2,3,4,5,3,9,8,5,3,9,8,6,4,5,3,9,11,9,8,7,11]</code> to extract all possible non-overlapping repeating sub-strings of all sizes from the array's contents?
  If so, could you provide an implementation for the same.
  I am trying to achieve the same but haven't reached an effective solution.</p>
  
  <p>Expected results:</p>
  
  <pre><code>4,5
  4,5,3
  4,5,3,9
  5,3
  5,3,9
  5,3,9,8
  ...
  </code></pre>
  
  <hr>
  
  <p>Considering the array : <code>[1,2,3,4,5,9,3,4,5,9,3,3,4,5,9,3]</code>,
  the non overlapping repeating sequence implies that the extracted group:<code>3,4,5,9,3</code> is derived from the repetitions starting at indexes 2 to 6 and 11 to 15 and NOT 6 to 10</p>