Intuit interview question

Generate random string of given length.