Whatnot interview question

The coding question centered around being able to detect inappropriate messages from an input stream.