Be aware if your language choice is based on build-in constructs, such as C++ vector. They sometimes are prohibited. Though if you are allowed to use standard library choose the language with the most powerful one/best known to you. In this case you will never face a need to recall quicksort algorithm, but simply call sort() method which is faster than everything you probably can write.