Honor interview question

Easy/medium array of strings algorithm