How to Solve "1408 String Matching in an Array" on LeetCode? - Javascript

Published --