What are the components of an algorithm?
What is complexity ?
Perform a quick sort algorithm to sort it into ascending order
values less than or equal to go to the left of pivot
what is
* first fit
* first fit decreasing
* full bin
what does heuristic mean?
how can the efficency of different packing methods be tested?
counting the number of comparisions needed in worst case
what is the complexit of the first fit and first fit decreasing algorithm , in the worst case?
o (n sqaured)
what is the complexity of the quick sort algorithm , in the worst case?
O (n squared)
What is big O notation?
Use quick sort to sort the following numbers in descending order
Use quick sort to sort the following numbers in descending order