+ 2

Tell me the concept of bubble sorting,selection sorting,insertation sortimg in array............plz help me

plz also give me the example of each.........................

4th May 2017, 7:22 PM
SatanicAngal666
SatanicAngal666 - avatar
11 Answers
+ 2
no one is gonna help you with that attitude
4th May 2017, 8:01 PM
Edward
+ 11
Bubble: * Go through list * If next index is smaller than the current, swap the index's * Never look at this garbage sort again 😛 https://en.m.wikipedia.org/wiki/Bubble_sort Insertion: * Go through list * While going through the list place the current index in the proper position. Do this by comparing it with the previous index's. If a previous index is larger, move it forward, else place the value you are comparing into the current position. https://en.m.wikipedia.org/wiki/Insertion_sort Selection: * Go through list * Find smallest value * Swap smallest with the index of how many smallest values you've found https://en.m.wikipedia.org/wiki/Selection_sort Have a look at the animations on each of the wiki pages to understand further.
4th May 2017, 8:43 PM
Rrestoring faith
Rrestoring faith - avatar
+ 3
okay mate....:-)
4th May 2017, 7:28 PM
SatanicAngal666
SatanicAngal666 - avatar
+ 2
c++
4th May 2017, 7:24 PM
SatanicAngal666
SatanicAngal666 - avatar
+ 1
nice try bud. do your own homework
4th May 2017, 7:39 PM
Edward
+ 1
this is not my homework ........it is for my concepts .....could I make my own shit about that f****** stuff.....
4th May 2017, 7:42 PM
SatanicAngal666
SatanicAngal666 - avatar
+ 1
any one plz help?!
4th May 2017, 7:48 PM
SatanicAngal666
SatanicAngal666 - avatar
+ 1
thanks for the help
5th May 2017, 4:29 AM
SatanicAngal666
SatanicAngal666 - avatar
0
I am sorry mate...........:-(
4th May 2017, 8:03 PM
SatanicAngal666
SatanicAngal666 - avatar