Avalara interview question

ques based on array strings and common algorithms