Backtracking

A search that never looks at most of the possibilities: the moment a partial answer breaks a rule, it throws away every solution that would have grown from it.