Code and approach to so solve Longest common prefix

· Dev.to