AC Longest Common Prefix