Original Post
The challenge is... given a set of clues and results from the game "Mastermind", determine the answer, and whether or not there's many or no possible answers.
can anyone help me improve my algorithm:
i mean a very bad algorithm is : start from 0000 to 9999 and see which one satisfies the clues.. what i ve done so far is look for a clue with score [0,0] and eliminate those numbers..
but if there not such a clue, i do not improve nothing..
any further improvements..??
can anyone help me improve my algorithm:
i mean a very bad algorithm is : start from 0000 to 9999 and see which one satisfies the clues.. what i ve done so far is look for a clue with score [0,0] and eliminate those numbers..
but if there not such a clue, i do not improve nothing..
any further improvements..??