Am I suitable for computer science?
I will be a freshman in the UCSD at 2026 Fall and planed to majored in Math-CS. My only real exposure to CS is AP CSA. I took AP CSA as an online course, and I found a lot of the content pretty tough to learn — stuff like classes and inheritance. Even after finishing the online lectures, I still had a hard time grasping those concepts. I had to rewatch the recordings two or three times before they finally clicked. But once I understood them, I could use them really well. I even combined calculus and statistics to write a program that predicted the Physics Bowl cutoff score using a normal distribution, and the error was only 1 point. I also really enjoy writing code to explore math problems and discover patterns. I ended up getting a 5 on the AP CSA exam. By the way, I'm strong in math and science — I also got 5s on AP Maths, Physics, Chemistry, Biology, and Economics.
So, do you think I’m suited for CS? I struggled with learning concepts like classes, so it seems that it doesn’t look like I’m naturally talented — but once I learn them, I can apply them extremely well. What’s my actual situation? What specific directions in CS might fit me in the future?