Float interview question

String manipulation question for first round and array sorting questions for second round