Glass Beads  ( Suffix Array nlogn )