{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

# lab4 - CSS 342 Mathematical Principles of Computing Lab 4...

This preview shows pages 1–2. Sign up to view the full content.

CSS 342: Mathematical Principles of Computing Lab 4: Sorting - Quicksort Professor: Munehiro Fukuda Assigned: See Our Syllabus Purpose This laboraotry work explores quicksort by arranging its algorithm to find the top k items, the bottom k items, and the median. Partial Sorting Sometimes we are interested in a partially sorted data set. For example, we might need to know the top 10 best sellers, the 20 highest-grossing movies, or the top 10% students by GPA. These partial sets can be obtained without completing quicksort on an entire data set, in other words, just by performing quicksort for the first several partiions in a particular range. Statement of Work This is a group work. Form a group of two students. (If you can't find a partner, you may form a group of three.) Decide which problem your group solve, using the following formula: (1) calculate the sum of all the group members' student IDs, (say N ); and (2) calculate the remainder of N / 3, (say Q = N % 3 ). Choose one

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

### What students are saying

• As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

Kiran Temple University Fox School of Business ‘17, Course Hero Intern

• I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

Dana University of Pennsylvania ‘17, Course Hero Intern

• The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

Jill Tulane University ‘16, Course Hero Intern