Quick sort

Quick sort

Question:
I have pseudocode for a quick sort. I know how to implement it in Pascal. Is there simple code for quick sort in C++? How can I find other simple algorithms like this? My teacher says they have all been written many times over!

Answer:
Probably picking up a good algorithm book that specifically uses C++ would be your best bet. In addition, the source code is available for the Borland and Microsoft C++ run-time libraries. These libraries include a quick sort routine.

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