GfG QA is closing soon... Please refer PRACTICE or GfG now on wards !!

Ask a Question

 

Start Coding Today

   

GeeksQuiz

GeeksforGeeksIDE

Data Structures

Algorithms

Interview Experiences

C Programming

C++ Programming

Java Programming

GATE CS

Books

How to provide feedback for the wrong solution

I am a new user, and this is a great site. Lot to learn from here. I was going through the QuickSort algorithm, and observed that the description and code is not fully correct. I have tried the Java code, even though it is generating the correct result, it is taking lot more iterations than it is supposed to take. In the quick sort algo, we move from both the sides i.e. left to right and at the same time from right to left. This solution seems to be moving only from left to right, and no movement from right to left.

I want to post the correct answer, please guide me how to do it.

http://quiz.geeksforgeeks.org/quick-sort/

Thanks

Virrendra

asked Jan 27 by codeviru
...