← All problems
Medium · Tries

Design Add And Search Words Data Structure

Support insertion and pattern search with a dot matching one letter.

Full problem and submission ↗
main.js

Console

Ready