Prince Coursera Algorithm Part 1 Course - Math


Hey folks,

I decided to take the algorithms and data structure course on coursera. I’m on week 1 right now and while I understand the concepts and the problems as well as the solution, but I’m having trouble understanding some of the math behind the conclusions they draw regarding algorithm performance and time complexity. E.g., I understand how union-find algorithms with weighted quick union work, but when they say that the depth of any node in the object is (lg N), I have no idea how they got to the expression lg N.

I guess it’s more of an intermediate course on algorithms so they expect you to know some Math coming in. Does anyone know of any good sources for learning math related to algorithms and data structures? Or just a brief list of the mathematics concepts that you are expected to know would also be great. Or if you know of a more suitable algorithm course, that would be great too.



I took the course this summer, I recommend using the book Algorithms, 4th Edition by Robert Sedgewick and Kevin Wayne.


So I should just buy the hardcover book instead of relying on their online version? Does it have better explanation in terms of Math?


You can find an the book online here,, take a look at it and see what you think


Wow this is awesome, thank you :slight_smile:


Discrete math is useful for analysis of algorithms