Problem 1804 · Medium
Support repeated word insertion, exact and prefix counts, and single-occurrence erasure.
Open the interactive visualisation