Explain the method used to solve a problem.