Viant Interview Question

string question of matching strings