Top "Longest-prefix" questions

Find the longest common starting substring in a set of strings

This is a challenge to come up with the most elegant JavaScript, Ruby or other solution to a relatively trivial …

javascript python ruby haskell longest-prefix