Archived
A sorting center manager wants to develop a program allowing him to automatically sort waste from 5 possible categories:
Plastic: the waste is incinerated
Cardboard & Paper: the waste is recycled
Food: the waste is composted
Metal: the waste is sent to another center
Which loop is the most relevant to set up for this?
0
Community EvaluationsNo one has reviewed this question yet, be the first!
9
What is recursion?2
Given an array of 17 elements sorted in ascending order, what is the cost of accessing the element with index 10?2
What about the merge sort method?2
What is the complexity of this algorithm?7
What is special about quick sort?6
What type of structure are the results of a recursive function stored in?5
What does the While loop do?