Home | JSP | EJB | JDBC | Java Servlets | WAP  | Free JSP Hosting  | Spring Framework | Web Services | BioInformatics | Java Server Faces | Jboss 3.0 tutorial | Hibernate 3.0 | XML

Tutorial Categories: Ajax | Articles | JSP | Bioinformatics | Database | Free Books | Hibernate | J2EE | J2ME | Java | JavaScript | JDBC | JMS | Linux | MS Technology | PHP | RMI | Web-Services | Servlets | Struts | UML


 

Java Tutorials


 

 

Struts Tutorials

Struts Resources

Visit Forum! Post Questions!
Jobs At RoseIndia.net!

Java Beginners Arrayexamples QuickSort

User Comments
Add This Tutorial To:
  Del.icio.us   Digg   Google   Spurl
  Blink   Furl   Simpy   Y! MyWeb 

Add This Tutorial To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 

Current Comments

9 comments so far (post your own) View All Comments Latest 10 Comments:

this very godd web site to bigginners for learn java.thank u very much to establish this.

Posted by lakmal gunarathna on Thursday, 08.12.10 @ 10:34am | #98856

This algorithm does not work well for duplicate items (had to modify it slightly to do so) and reaaaalllly does not work for large amounts of items to sort. At 50,000 it produces a stack overflow... I need to sort a million items.... =0(

Posted by J on Wednesday, 03.31.10 @ 15:08pm | #96006

thank u very much do u know ur website famous in my country in department every student(PROGRAMMERS) take inform-ns. in ur site explanation very nice.
God bless you.
from Zerocool

Posted by zerocool on Saturday, 03.20.10 @ 08:33am | #95715

while (lo<hi && array[hi] > mid) {
hi--;
}

must be

while (lo<hi && array[hi] >= mid) {
hi--;
}

to solve this

Posted by teacher on Wednesday, 12.23.09 @ 13:57pm | #93591

Hi,
I am just trying to understand the concept of quicksort. I have been searching the web in order to find a satisfactory explanation, so far this is the best. However, when I copy and paste the source code to netbeans, it gives me the following error message: 'class QuickSort is public, should be declared in a file named Quicksort.java'

what a pity, because as I said so far this is the most understandable explanation I've found

regards,

Peter

Posted by peter.rusznak on Monday, 10.12.09 @ 02:31am | #91672

Its very useful for the beginners but I need the program using buffer

Posted by UshaAlagiri on Friday, 10.9.09 @ 14:26pm | #91599

hi,,
i was very helpful by copying this program program code is excellent ,it can be understood by everyone that is the the very good thing...

Posted by raghotham on Saturday, 09.12.09 @ 15:09pm | #90853

What if two elements in the array are equal? Then the while loop will run forever. How do you solve this?

Posted by Sindre on Wednesday, 05.6.09 @ 14:01pm | #87445

nice brain storming there.. is there posible that i can use this code in creating descending sorting??

by the way, the program is great but it is quite long and complicated..

Posted by brandon on Tuesday, 03.17.09 @ 05:06am | #85934

Ask programming questions?

 

 

Back to Tutorial

 

  JDO Tutorials
  EAI Articles
  Struts Tutorials
  Java Tutorials
  Java Certification

Tell A Friend
Your Friend Name

 

 
Browse all Java Tutorials
Java JSP Struts Servlets Hibernate XML
Ajax JDBC EJB MySQL JavaScript JSF
Maven2 Tutorial JEE5 Tutorial Java Threading Tutorial Photoshop Tutorials Linux Technology
Technology Revolutions Eclipse Spring Tutorial Bioinformatics Tutorials Tools SQL
 

Home | JSP | EJB | JDBC | Java Servlets | WAP  | Free JSP Hosting  | Search Engine | News Archive | Jboss 3.0 tutorial | Free Linux CD's | Forum | Blogs

About Us | Advertising On RoseIndia.net  | Site Map

India News

Send your comments, Suggestions or Queries regarding this site at roseindia_net@yahoo.com.

Copyright 2007. All rights reserved.