title: How to find longest common suffix from a list of strings and return the resulting suffix length in java?
body: <p>Consider the following in a ArrayList or LinkedList:
  [Gloucestershire, Hampshire, Yorkshire, Lancashire]
  shire is the longest common suffix of length 5. 
  The output should be 5
  How can I write a method to achieve the above and return length</p>