idiom
a brainwave
une idée ou solution soudaine et brillante
Meaning
a sudden clever idea or solution
Example
I had **a brainwave** and realized how to fix the issue.
J'ai eu **une vague d'inspiration** et j'ai compris comment résoudre le problème.