Pergunta de entrevista da empresa Qualcomm

Rotate a matrix by 90 degrees and find the duplicate in string array.