Stream Processing with Stop Words

Problem overview from a real Perplexity interview:

Given an infinite character stream (or a very large text stream that cannot fit into memory) and a list of stop words (sensitive words), return the substring that appears before the first occurrence of any stop word.

Check more interview questions and experiences about Perplexity

Please log in to view interview details