| Coderz Click here to visit this social group |
![]() |
|
|
Thread Tools |
|
Member
|
I'm not familiar with PHP, but from what I see, you:
--------- Create an array. do for number of data in array (variable A) { do for number of data - 1, while it is larger than A (variable B) { switch the data in positions array A & B if... (OK, now I'm confused.) -------- A bubble sort is kinda like stepping through a list and sorting each one through? Like this? 156423 154236 142356 123456 And I don't really know this part. I know we shouldn't be spoonfed, but can you please explain with comments or something? Quote:
*Looking up Bubble Sort* |
|
|
|
|
![]() |
| Bookmarks |
| Tags |
| algorithm, examples, programming |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Most spoken languages in the world | Sherman | Debates | 48 | 08-04-2008 11:14 AM |
| Languages of south east asia | StrikeFighter | Window to the World | 2 | 18-07-2007 06:19 PM |
| ECU Programming | filarnski | Programming and Web Development | 3 | 15-11-2005 11:58 PM |
| Find Penpals to practice foreign languages | Valentin1402 | Education | 0 | 04-06-2005 03:14 AM |
| Techniques In Learning Foreign Languages | chenchow | Education | 9 | 27-09-2004 01:41 AM |