Quest Global interview question

Find second largest in array and word count problem