Any good Youtube channels on learning Data Structures and Algorithms, especially the math part?
Hello Tildes, I am currently taking DSA in college and struggling a lot with the math and algorithms. Recently had to solve Karatsuba questions and I don't even know what I wrote down on the...
Hello Tildes,
I am currently taking DSA in college and struggling a lot with the math and algorithms. Recently had to solve Karatsuba questions and I don't even know what I wrote down on the paper. I have been trying to look for videos on this and only really came away with a vague understanding.
What I've noticed is that I struggle with solving the math part of the questions.
For example: "Describe a divide and conquer algorithm to compute the square
of an n-digit integer in O(n log3 5) time, by reducing to the squaring of five [n/3]-digit
integers"
I have zero clue how I am supposed to understand the latter half of the question. It makes no sense to me beyond I am supposed to be multiplying squared numbers. How do I even begin to turn this into an algorithm? What is the solution even supposed to look like?
Needless to say, I've struggled with math my entire life and I've been trying for years to be decent with it, and I have nothing to show for it.
So, do you have any recommendations that could simplify the math needed for DSA? Videos are preferred but I will textbook recommendations as well.
Thank you, and have a good day!