-
July 22nd, 2005, 10:11 PM
#1
searching and sorting
hi can anyone show me how to write a simple program on searching (linear and binary) and sorting (quick,bubble,selection and insertion) or direct me to a website with workable program and a good explanation. i need to write those program out for my school project. But after searching some site i got more confusing and have no idea on how to write a program either.
hope some one can help with this. thanks
-
July 23rd, 2005, 05:55 AM
#2
Re: searching and sorting
Originally Posted by gret
hi can anyone show me how to write a simple program on searching (linear and binary) and sorting (quick,bubble,selection and insertion) or direct me to a website with workable program and a good explanation. i need to write those program out for my school project. But after searching some site i got more confusing and have no idea on how to write a program either.
hope some one can help with this. thanks
They are all in teh example folder of your java directories you installed on your system.
7-11
-
July 23rd, 2005, 10:38 PM
#3
Re: searching and sorting
For sorting, try http://en.wikipedia.org/wiki/Sorting_algorithm and http://linux.wku.edu/~lamonml/algor/sort/
The 2nd link contains code in C though, but it's very similiar to Java.
Hungarian notation, reinterpreted? http://www.joelonsoftware.com/articles/Wrong.html
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|