Redfin Interview Question

Coding question was about finding combinations of a string.