DGN Technologies interview question

Find the Pattern in string array