"I don't believe in happy endings. Life doesn't have them, so why should literature?"
Problem solving is a search through a space of possible solutions.