Go Back   CodingForums.com > :: Server side development > Java and JSP

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 09-28-2012, 06:42 AM   PM User | #1
sorlaker
Regular Coder

 
Join Date: Dec 2009
Posts: 166
Thanks: 23
Thanked 1 Time in 1 Post
sorlaker has a little shameless behaviour in the past
Doubts! Recursive Bubble Sort!

Can anyone explain to me each step of this code?
I know that its a recursive bubble sort but i can't figure out how he does that.

Here is the code.
http://pastebin.com/fFbBbPBa

I know is that it extends with augment() method (Line 24). But i don't know why it uses that boolean array in both cases (next() and augment()).
I can't understand the part after it compares a > b and returns true. So a > b (Line 83).

Thanks! I really need this!
sorlaker is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 07:08 AM.


Advertisement
Log in to turn off these ads.