This theory is part of Premium
The full write-up (worked counting examples, the trap list and the interview playbook) unlocks with a Premium plan, along with every Pro visualizer.
See pricingDetect dictionary words ending at the newest stream position.
What this asks
Detect whether some dictionary word ends at the current position of a character stream.
Keep the recent characters; each arrival walks the trie over the suffixes ending at the newest position.
The full write-up (worked counting examples, the trap list and the interview playbook) unlocks with a Premium plan, along with every Pro visualizer.
See pricing