1 subconscious
Thinking on the 2nd, dreaming at night.
3 omen
Because you provide too few clues, I think it's ominous. Because you met something that puzzled you in (study) and (life), you couldn't find a solution or a way forward, so you had this dream.