Deliveroo interview question

Find the lowest common prefix.