AlgoMaster Logo

Longest Common Prefix

strs=[flower, flow, flight]
0 / 13
012345flowerflowflight
algomaster.io
Step:Start: find the longest common prefix of 3 strings by scanning column by column