Sprinklr interview question

DSA on array and strings, MySQL