Class Rank Problem

Let's say we wanted to honor the students with the top 10 percent GPAs.

1.
Find the GPA with rank n/10.
2.
List all GPAs, return those that are at least as good as the threshold.

Homework: How do you compute the rank for a given student?


next up previous
Next: Randomized Select Up: ORDER STATISTICS Previous: Order Statistics