A lot has changed since I earned my degree in Computer Science, but the fundamentals like math and set theory have remained relatively constant. Ironically, I was student who loathed math for most of my academic career or at least I thought I did. I enjoyed Discrete Mathematics and Set Theory.
In truth, Computer Science majors have to learn a different kind of math compared to most other majors (except of course math majors). These branches of math are critical for those looking to go into research in fields like computer science, AI, or even pure mathematical research.