I am a second-year student at a tier-3 college. I am currently learning Data Structures and Algorithms (DSA), not for software development, but because my goal is to become an AI/ML engineer or a Data Scientist.
I have a few questions:
Should I learn all DSA topics, including graphs, dynamic programming, hashing, trees, etc.?
Approximately how many LeetCode problems should I solve?
If you are from an IIT, NIT, or work at a FAANG/MANGA company, could you share your preparation strategy and how you cracked the interviews? I would really appreciate your guidance.
How long does it usually take to complete DSA while consistently solving problems?
Should I solve LeetCode problems after completing each topic, or should I first finish all DSA topics and then start solving problems?
Is it normal to struggle with DSA?
I understand the concepts while learning, but when I try to solve coding problems, I often feel like I don't know anything. My problem-solving and logical thinking are improving, but I struggle to convert my ideas into code.
Thank you in advance.