Arrays, Strings, Hashing, and Linear Patterns