+ 2
What is sorting technique for the following list?[Solved]
56, 12, 19, 10, 35, 21, 43, 8, 23,20
9 Respuestas
+ 2
Ace yes sir the above list
+ 2
Alaska thank u. I am going to learn other types as well cause i just know about bubble. I meant is there any other ways to sort this now i got it.Thank you🙏
+ 2
Alaska Thanks a lot🙏
+ 2
sadia aslamy
There are many type of sorting technique. You can use bubble sort or selection sort.
You can sort with inbuilt function also. See this code. Here I have sort with inbuilt function.
https://code.sololearn.com/c8qU4PI3OBN9/?ref=app
+ 2
https://code.sololearn.com/cE6507GCEgMf/?ref=app
+ 1
sadia aslamy you can use any sorting technique on this list if execution time and memory is not a question. The easiest sorting technique is selection sort and bubble sort. The fastest and efficient technique is quick sort. There are other techniques also which you may find easy or good like merge, cycle, radix, heap and many more.. some basics are given in the learning section.
+ 1
sadia aslamy
https://www.sololearn.com/learn/658/?ref=app
This is for selection sort. You can find insertion, merge, bubble and quick in this post.
0
sadia aslamy he meant is there a specific sorting technique you are asking about.
PS: be clear with your questions
- 1
Aman don't spam in Q&A section with external video links as this is considered as spam and continue spam over the section of app will result in account ban so please refrain to post any kind of spamy links here.