Mastering Algorithms with C (Mastering) by Kyle Loudon
Publisher: O'Reilly Media; Bk&CD-Rom edition (August 5, 1999) | ISBN-10: 1565924533 | PDF | 2 Mb | 560 pages
Written with the intermediate to advanced C programmer in mind, Mastering Algorithms with C delivers a no-nonsense guide to the most common algorithms needed by real-world developers.
The highlight of the book has to be its concise and readable C functions for all the algorithms presented here, including basics like linked lists, stacks to trees, graphs, and sorting/searching algorithms. The C functions that implement these algorithms are clearly printed and remarkably easy to read. You can use this sample code directly or adapt it into your C/C++ code.