I can say that the quality of some of my professors completely affected my strengths today. Orthogonal to how they believed in me (which also plays a role imo). I had a very good analytics professor and to this day I can remember most theorems and I’m still fairly good there. My number theory teachers were shit though, and I’m still being affected by it today.