Effective leadership styles in problem solving