Mathematical way to learn algorithms for computer science?
>>8972538
as opposed to brainlet way I guess? do competitive programming, it's super fun and you learn a lot
>>8972538
> run the algorithm by hand for a few examples
> prove that the algorithm terminates with correct output
> follow the proof with your worked examples
> compute the asymptotic complexity of the algorithm
> optimize the algorithm or prove that it is optimal
>>8972538
Idiot
But you're looking for the art of computer programming
>>8972538
Learn from Demaine
>>8972538
An Introduction to the Analysis of Algorithms by Sedgewick and Flajolet
Analytic Combinatorics by Flajolet and Sedgewick