A problem solving method that involves trying all possible solutions until one works is using ___________.
a. an algorithm
b. trial-and-error
c. deductive reasoning
d. a heuristic