Coviam interview question

LCS