Epic interview question

String to number