Find secret word with match-count feedback | Google Interview Question