devxlogo

How do I implement classic algorithms in C?

How do I implement classic algorithms in C?

Question:
Where can I find algorithms and data structures, techniques and programs that will better show me how they can be implemented using ANSI C? Other areas include Hashing, Heaps, Queues, and Binary trees, etc.

Answer:
Here are two highly recommended books for this topic: Sedgewick, Algorithms in C and Algorithms in C++, Addison-Wesley Brian Flamig, Data Structures in C++, John Wiley and Sons Another excellent book is: Cormen, Leiserson and Rivest, Algorithms, MIT Press But it lists the algorithms in pseudo-code, so you need to translate them into real C++.

See also  Does It Make Sense to Splurge on a Laptop?
devxblackblue

About Our Editorial Process

At DevX, we’re dedicated to tech entrepreneurship. Our team closely follows industry shifts, new products, AI breakthroughs, technology trends, and funding announcements. Articles undergo thorough editing to ensure accuracy and clarity, reflecting DevX’s style and supporting entrepreneurs in the tech sphere.

See our full editorial policy.

About Our Journalist