• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Java algorithm

 
Greenhorn
Posts: 23
Java ME TypeScript Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
please tell a source code for the bubble sort and quick sort algorithm
 
lowercase baba
Posts: 13089
67
Chrome Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
There is no such thing as a "java algorithm". There are algorithms that can be implemented in java, C, Perl, etc.

Bubble and quick sorts are very common, well documented ways of writing sorts. I'm sure if you searched, you could find algorithms in about 10 seconds.
 
Bartender
Posts: 6109
6
Android IntelliJ IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Skm Liyanage wrote:please tell a source code



It doesn't work that way. This site is NotACodeMill(←click). Folks here expect you to ShowSomeEffort(←click). If you do that and ask a specific question about whatever difficulty you're having, people will be happy to help you. We won't do your work for you though.

Happy coding!
 
Sameera Liyanage
Greenhorn
Posts: 23
Java ME TypeScript Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
thanks very much
 
reply
    Bookmark Topic Watch Topic
  • New Topic