Cognitive processes in well‐defined and ill‐defined problem solving