JPMorganChase interview question

string and array leetcode exercises