Answers to: Algorithms To Solve Problems and Books to Followhttps://discuss.codechef.com/questions/44465/algorithms-to-solve-problems-and-books-to-follow<ul>
<li>Prime Miller Rabin</li>
<li>Matrix Recurrence + Fast Modulo
Multiplication for counting</li>
<li>Stable Marriage Problem</li>
<li>Gaussian Elimination</li>
<li>Numerical Integration/Differentiation</li>
<li>Line Clipping</li>
<li>Advanced Maths Ad-Hoc problems</li>
<li>Ahoâ€“Corasick string matching
algorithm;</li>
<li>Calculate nCr % M Lucas's Theorem</li>
<li>Heavy Light decomposition in trees</li>
<li>Inverse Modulo operations</li>
<li>Pollard Rho Integer Factorization</li>
<li>Flow related algorithms, assignment
problem, Hungarian algorithm</li>
<li>Bipartite matching algorithms</li>
<li>Heavy-light decomposition</li>
<li>Sweep line algorithm</li>
<li>Z algorithm</li>
<li>Convex Hull</li>
<li>Suffix Arrays</li>
<li>LCP</li>
<li>Extended Euclid's algorithm</li>
<li>Ternary Search</li>
<li>Segment tree (with lazy propagation)</li>
<li>Interval Tree</li>
<li>Binary Indexed Tree</li>
<li>Fast Modulo Multiplication
(Exponential Squaring)</li>
<li>Heuristic Algorithms</li>
<li>KMP string searching</li>
<li>Manacher's Algorithm</li>
<li>Union Find/Disjoint Set</li>
<li>Trie</li>
<li>Fast Fourier Transform for fast
polynomial multiplication</li>
<li>Djikstra's algorithm, Bellman-ford
algorithm, Floyd-Warshall Algorithm</li>
<li>Prim's Algorithm, Kruskal's Algorithm</li>
<li>RMQ, LCA</li>
<li>Suffix Tree</li>
<li>Catalan Numbers</li>
</ul>
<p>For Data Structure and Algorithm, follow <strong><em>Data Structure and Algorithm made Easy by Narashima Kauromanchi</em></strong></p>enThu, 12 Jun 2014 09:19:21 +0530Answer by srswain2https://discuss.codechef.com/questions/44465/algorithms-to-solve-problems-and-books-to-follow/44538<p>This is my personal preference. There might be many other good books.</p>
<ol>
<li>
<p>CLRS - The classic comprehensive text book on algorithms. A must read atleast once in programmer's career.</p>
</li>
<li>
<p>Introduction to Algorithms: A Creative Approach by Udi Manber - An excellent book on various algorithm categories. Many interesting questions on web portals as interview questions can be found in this book. Chapter end exercises are an asset. One must attempt the "Creative Problems" section at the end of every chapter. If a programmer wants to know the power of induction as problem solving approach, he must read this book. Strongly recommended.</p>
</li>
<li>
<p>The Algorithm Design Manual by Skiena - Lots of algorithmic problems, and discussions, war stories, related problems, interesting exercises. It helps in modeling a problem in different ways. A must work book for every passionate programmer. Don't read this unless you have good insight into algorithms.</p>
</li>
<li>
<p>Algorithms by Das Gupta - Precise book on few algorithmic categories, pick any chapter based on interest and attempt end of chapter exercises.</p>
</li>
<li>
<p>Algorithms 4e by Sedgewick - Relatively beginner level book, covers graph, strings, hashing, searching, sorting, etc. very well. It follows OOP approach in Java. Strongly recommended for beginners, though nothing stops a professional. Web portal containing plenty of interesting exercises. There are other books by Sedgewick on Algorithms. Recommended for data structure learning.</p>
</li>
<li>
<p>Introduction to Design and Analysis of Algorithms by Levitin - An introductory book in algorithm design. Recommended for beginners. One can enjoy the explanation and solving end of section exercises.</p>
</li>
</ol>
<p><strong><em>On Programming Style:</em></strong></p>
<ol>
<li>
<p>Programming Pearls by Bentley - A must read book on design and implementation of computer programs.</p>
</li>
<li>
<p>The Practice of Programming by Kernighan - Written during Unix days, still one of the best resource on program design and implementation principles.</p>
</li>
<li>
<p>Advanced Programming in the Unix Environment by W. Richard Stevens - It covers many Unix internals and kernel level API. It follows an excellent programming style. Stevens books are one of the best in their category. I would say, they stand at the level of CLRS in algorithms category. Highly recommended.</p>
</li>
</ol>srswain2Thu, 12 Jun 2014 09:19:21 +0530https://discuss.codechef.com/questions/44465/algorithms-to-solve-problems-and-books-to-follow/44538Answer by srswain2https://discuss.codechef.com/questions/44465/algorithms-to-solve-problems-and-books-to-follow/44478<p>Introduction To Algorithms - Thomas H. Cormen</p>
<p>Introduction to Algorithms: A Creative Approach - Udi Manber</p>srswain2Wed, 11 Jun 2014 19:29:26 +0530https://discuss.codechef.com/questions/44465/algorithms-to-solve-problems-and-books-to-follow/44478