r/learnpython • u/Sudden-Sky-8804 • 2d ago
I struggle with math and abstract thinking. Is DSA realistic for me, and is data engineering a viable path?
Hi everyone,
I'm a beginner in Python and I'd really appreciate some honest advice from people with more experience.
My background
- Python level: I know the basics (variables, loops, functions, lists and dictionaries), but I'm still learning how to write programs on my own.
- Time I can study: About 1 to 2 hours a day.
- Goal: Get a job in tech, possibly as a data engineer.
- Math: I've always been weak at it, and I often feel I'm not great at logical or abstract thinking.
My concern
I'll be honest: I'm not good at math, and my logical thinking is weak. In school I struggled with math, and I often get stuck when a problem requires me to break it down step by step. Whenever I read about data structures and algorithms, I worry that these weaknesses will hold me back. I don't want to spend months studying only to find out I was on the wrong path. At the same time, I'm willing to put in consistent effort if there's a realistic way forward.
My questions
- Is DSA realistic for someone who is weak at math? Is it mostly about practice and pattern recognition rather than natural talent?
- How much DSA does a data engineer actually need in real work and in job interviews? Are the basics (lists, dicts, sets, stacks, queues) enough, or do I need trees, graphs and dynamic programming too?
- What is a sensible learning order? I was thinking: arrays/strings → hash maps → stacks/queues → linked lists → trees → graphs. Does that make sense?
- Which resources worked for you? I've looked at VisuAlgo, NeetCode, CS50 and Grokking Algorithms, but I'm not sure how to combine them.
- Should I learn SQL alongside Python from the start, given that I'm interested in data engineering?
What I've tried so far
I've followed some beginner Python tutorials and practiced small exercises, but I often get stuck when I have to solve a problem on my own, and that makes me doubt myself. I haven't started DSA yet because I'm not sure where to begin.
If you were in my position, what would you focus on first? Any advice, roadmap, or personal experience (especially from people who also struggled with math) would mean a lot.
Thank you for reading!
2
u/Suspicious_Tax8577 2d ago
For DSA, Advent of Code. They don't go "using Dijkstra's Algorithm, find X", like leetcode or similar would. Instead, they give you the most unhinged puzzles to help the elves save Xmas. Each puzzle has a data structure or algorithm to solve the puzzle in the most efficient way.
1
u/ElectronSculptor 2d ago
I think nothing can stop you if you can:
A) know your limitations and make a plan
B) work hard and take the time you need
Data science is not as raw math intensive as it seems. You don’t need to do the math by hand, you need to understand the implications and general results of probability and some calculus. It’s more about applying general processes and knowing the high level reasoning behind probabilities and how to assess the error in different methods.
I also don’t think most people are bad at math, I think most people get a poor early education in math. I, as an example, was homeschooled and barely passed my GED because I had very little education. Now I have a masters degree in RF and AI as an electrical engineer. I’ve taught myself enough math to study Einsteins field equations because it was a goal. What I learned is that I wasn’t bad at math, I didn’t have a math education.
So I’d recommend start by reviewing probability and linear algebra. Then study the data structure part of Python. Lastly, study basic ML and AI stuff such as in libraries like Keras, scikit-learn, and tensorflow.
Google “ai programming in Keras” and there are a lot of resources. The main thing is you’ll want to understand the idea behind old machine learning techniques that revolved around probabilities and statistics and then understand what gradient descent is. The modern ai relies on calculus and an algorithm called gradient descent that trains the parameters. It’s not easy but once you grasp that you’ll likely never be required to implement the math from scratch but instead understand each process well enough to choose what fits your dataset.
1
u/Educational_Virus672 2d ago edited 2d ago
okay so maths is kinda important but not important at the same time here your not looking at constant you will need find patterns look at your pc and question how apps work? learn abt it doesnt matter it is DSA or not a spark in your question, really thought after questions make your pattern go sharp lets answer your question before i show an example
1.yes you need math, but it is msotly 5th grade math and you need conceptual math does it need talent to learn something liek this? no ofc not
2.basically can lend you job but wont offer much outcome you need to understand concepts like how these 1s and 0s go into letters and stuff it is basics too just try random stuff until it works
3 and 4 i dont trust many sources i think you should give geek for geeks a shot
5. personally im not a DSA guy i watched videos abt it but i am just a general dev so i recommend you stick to python and go to SQL later
now lets use a formula as example
question - add numbers ranged 1 to n
we can do
but a good dev will see that first and last numbers sum(adding numbers) is same as turning the 2nd and 2nd last number and so on lets say for range 1 and 10 we see
1 -- 2 - 3 - 4 - 5
10 - 9 - 8 - 7 - 6
11 -11 --11 -11 -11
we see 11 apears 5 times which is half of 10 it appears many times because when the top increases the bottom decreases note- it takes a while to notice for most ppl
so we create this formula
and boom we got a fast and good algo
1
u/TheRNGuy 2d ago
Do you even need DSA for anything?
You could use frameworks that already have those data types, you'll probably see at some point if you need them, otherwise you can just use default data types, software should work with them too.
Do something for 3d graphics (like extension for Blender), then you'll learn math.
1
u/pachura3 1d ago
What does Data Engineer do, according to yourself?
Are you able to e.g. merge multiple CSV and JSON files, standardize date/time formats, strip excessive whitespace, remove junk records, remove duplicates, and then save the result to a table in an SQL database like PostgreSQL ?
1
u/nian2326076 1d ago
Focusing on your weak areas is important, but don't let them deter you. Start by solidifying your Python basics, then gradually introduce data structures and algorithms (DSA). Consider using PracHub to practice technical interview questions step-by-step. This can help you improve your problem-solving skills over time. Many successful data engineers have faced similar challenges, so persistence is key.
1
u/Almostasleeprightnow 1d ago
How old are you? Can you take a class with a live teacher? like, a CS 101 class? It would be a good way to determine if it suits you.