JPMorganChase interview question

Basic hacker rank type questions - string matching, etc