Solved White Pages' coding interview problem about finding the two words within one word