Brainstorm meaning
If you and your co-workers sit around and try to come up with new ideas for an ad campaign, this is an example of when you brainstorm ideas.
When you suddenly come up with an idea for a new electronic device, seemingly out of nowhere, this is an example of a brainstorm.
I had been working on the problem for weeks, and then I had a brainstorm and saw that the solution was easy.