Oracle interview question

Given a string, find if it has duplicates