Algorithm that sorts the elements of a dataset

1

"A team needs to write an algorithm that sorts the elements of a data set from a given criterion defined by the function. Knowing that the data set does not have an amount greater than 100 elements and that the team you do not have enough experience to implement very difficult algorithms.What algorithm would you suggest for solving this problem? Justify your answer. "

Personally, I'm breaking my head with this question. It is very important to do and understand it. Could you help me, please? Thank you!

    
asked by anonymous 20.02.2016 / 18:54

1 answer

2

I will not give you a straight answer because as commented by the bigown the SO community discourages doing homework. However giving you a direction in case you are lost: what you need is to know the ordering algorithms > classics, search on bubble sort , selection sort , insertion sort , merge sort and quick sort (there are others but I will not list all). You need to understand the advantages and disadvantages of each to be able to answer the question accurately.

Note: I leave a tip, depending on the case no matter which one you use.

    
20.02.2016 / 19:31