What you say is true, but the rolling hash solution is susceptible to potential hash collisions while the trie is not.
Hash collisions don't matter unless they're pathological. Just choose an out of the box hash that works well.
The article is just wrong.
If you're writing a smug blog post about your "great" interview question, you should at least not make such "obvious" mistakes, especially considering rolling hashes are a "common" interview question trick for string problems. And in practice this hash'd solution probably might end up performing better than the Trie (of course needs benchmarking, etc., but it's not unreasonable to think it might). In an alternate universe you could easily imagine author himself getting failed for overlooking such an "obvious" solution.