LeetCode Weekly Contest 36
I don't know but Aho-Corasick automantic is also got a MLE.
No one has replied
Nice solution! A nitpick:
Why not take advantage of StringBuilder since we're already using it? So change it to:
Nevermind, I forgot the null when returning, it was expected for the printer
I came up with a solution that's basically the same as you two:
Disabled Categories are greyed out
Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.