Virtusa interview question

Enum Sql commands Code to find out duplicates In a string