J.B. Hunt Transport interview question

Write code to determine whether a string has all unique characters