Domanda di colloquio di Qualcomm

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