Morgan Lewis interview question

1)sub set of a String 2)second max in array