- Due: 4/28 -- late homework not accepted
- Up to two students may collaborate; please be prepared to discuss individual contributions
For this assignment your team will perform two tasks:
-
You will implement a Java version of any of the three sorting algorithm we've discussed in class. Note that insertion sort has been done, so don't do that one. You will modify
Deck
such that there is a methodSort()
where your cards are sorted. You can, again assumeD > H > C > S
for those cards within a rank. -
You will compare two sorting performances. For this you can either
- Compare your sorting algorithm against another sorting algorithm or
- If you implement quicksort then you can compare this against the Java built-in quicksort implementation
- 5 completed correctly + enhancements
- 4 all requirements are met
- 3 all but a few requirements are met
- 2 significant number of requires are missing
- 0 not completed
Students will need to demonstrate their homework assignment in class.