word pattern | leetcode september challenge day 7 | python solution

Published --