Deliveroo Interview Question

Find the lowest common prefix.