Factors influencing outcome of problem solving