Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

sorting

 
Dirk Schreckmann
Sheriff
Posts: 7023
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
Does anyone have any good advice for the beginner on learning sorting techniques?
I've learned Bubble Sort easily and would like to learn more advanced techniques - from the beginner's perspective.
I appreciate your two cents.
Thank You.
 
Roy Ben Ami
Ranch Hand
Posts: 732
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
well, this is a good sire for all kind of algorithems. hope it helps.
Algorithm site
 
David O'Meara
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Looking at various algorithms is always a good thing, but you should also be aware that the Collections Framework in the Java language "does away with" the need to implement sorting.
As long as your data is contained in a Collections object, you can call java.util.Collections.sort(myData) and (ta da!) it gets sorted...
Dave
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic