Perplexity logoPerplexity
Coding·45 minMembers

Stop Sequences Before First Match

Members only

Given text and a list of stop words or stop sequences, return only the content before the first stop sequence. Follow-ups turn the input into a stream of chunks that cannot all be held in memory.

SWE
string-processing
streaming
iterator
trie
medium
Frequency
Medium
Last asked
2025-10-12
Stage
phone-screen

Log in to continue reading the full content