Qualtrics Interview Question

Given a document are you able to pull out words that are only mentioned once? Write the code.

Interview Answer

Anonymous

Aug 21, 2018

Use a regular expression to match words that only appear once by using a negative look a head and and look back on each word and making the expression global and case insensitive. (\w+)(?!.+\1)(?