Managers at every company—especially big corporations—face a similar conundrum: What’s the ideal way to organize employees to generate the best ideas? Is it better to work in large groups? Smaller ones? With other people who are similar or different?