longest common prefix

longest common prefix