What is sorting technique for the following list?[Solved] | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

What is sorting technique for the following list?[Solved]

56, 12, 19, 10, 35, 21, 43, 8, 23,20

4th Jul 2020, 4:47 PM
sadia aslamy
sadia aslamy - avatar
9 Answers
+ 2
Ace yes sir the above list
4th Jul 2020, 4:52 PM
sadia aslamy
sadia aslamy - avatar
+ 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🙏
4th Jul 2020, 5:12 PM
sadia aslamy
sadia aslamy - avatar
+ 2
Alaska Thanks a lot🙏
4th Jul 2020, 5:13 PM
sadia aslamy
sadia aslamy - avatar
+ 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
4th Jul 2020, 7:06 PM
A͢J
A͢J - avatar
+ 2
https://code.sololearn.com/cE6507GCEgMf/?ref=app
5th Jul 2020, 6:16 PM
~aalia khan
~aalia khan - avatar
+ 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.
4th Jul 2020, 5:09 PM
Alaska
Alaska - avatar
+ 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.
4th Jul 2020, 5:12 PM
Alaska
Alaska - avatar
0
sadia aslamy he meant is there a specific sorting technique you are asking about. PS: be clear with your questions
4th Jul 2020, 5:02 PM
Alaska
Alaska - avatar
- 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.
6th Jul 2020, 6:20 AM
Aman