Palo Alto Networks interview question

Medium string and dict leet code problems