Search⌘ K
AI Features

Stream of Characters

Stream of Characters receives letters one at a time and returns whether any suffix of the growing stream matches one of the given words.

Statement

Design a data structure that processes a stream of characters and, after each character is received, determines if a suffix of these ...