r/CodingForBeginners • u/darksllmm • 2d ago
math in coding
hello everyone im about to start learning to code (python specifically) and i want to learn the math i would need for it first to make the learning process a bit easier.
any pointers would be greatly appreciated
thx for the help
6
Upvotes
View all comments
1
u/Top_Finger_909 2d ago
You do not need to know much “math” to code however if you’re intent is learning data structures and algorithms then you will need:
1.) Discrete Math: https://personal.math.ubc.ca/~PLP/book/frontmatter.html
2.) Algorithms: https://theswissbay.ch/pdf/Gentoomen%20Library/Algorithms/Algorithm%20Design%20-%20John%20Kleinberg%20-%20Éva%20Tardos.pdf
Id highly recommend starting with something like the discrete math book up top. Then the algorithm design manual by Steven Skiena, then once you are comfortable do one of Kleinberg and Tardos or CLRS (only read specific sections)
This is about as “math” heavy things can get although again you don’t need strictly need all of this