Question d’entretien chez Qualcomm

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