Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Using quicksort to sort a Vector ?

Posted on 2005-03-13
1
Medium Priority
?
266 Views
Last Modified: 2009-12-16
Hi all,

I'm still new to Java and just wanted to know how to use the quicksort on a vector. Is there an existing Quicksort class that I can call or I need to build it ?

Thanks,
Frank
0
Comment
Question by:The_Kingpin08
1 Comment
 
LVL 16

Accepted Solution

by:
Peter Kwan earned 500 total points
ID: 13529158
There is no such class in JDK. However, there are many versions that may fit your need. Try to find "quicksort java" in Google.

Here is an example:
http://www.sum-it.nl/QuickSort.java
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Java had always been an easily readable and understandable language.  Some relatively recent changes in the language seem to be changing this pretty fast, and anyone that had not seen any Java code for the last 5 years will possibly have issues unde…
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:
Suggested Courses
Course of the Month12 days, 13 hours left to enroll

578 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question