cphb
cphb copied to clipboard
Competitive Programmer's Handbook
First of all, thank you very much for writing this book and thank you to all those that contributed with fixes. https://cses.fi/book/index.php points to a draft released in 2018 while...
I have read book's older version and found out so confused on example. Now, it's fix to all positive edges in first example but the example for negative cycle is...
Added a fantastic Readme
First of all, I would like to say that yours is one the best competitive programming books I have seen. Keep up the good work! I have some constructive suggestions...
Why does the presented method to detect cycles in successor graphs (Floyd's algorithm) work? In my point of view, your explanation concerning the correctness of this algorithm is a bit...
Calling memset is more efficient and quicker to write, than a loop, to set all values to 0/INF. What do you think about changing the loops in graph algorithms to...
Not a big deal, but I figured I would document this. For smaller devices (phones, smaller tablets) an eBook is preferable to a PDF.
Why does the last subset iteration code work?