Answer:
Insight learning.
Step-by-step explanation:
Insight learning is a process in which learning occurs by understanding the relationships and parts of the problem instead of trial and error. It tends to be when one thinks "I did it!".
It sometimes happens over a long period of thinking about a problem without much systematic interaction with the environment.