A Comprehensive Approach to Problem Solving