Friday, May 6, 2011

Sorting array of Items

We continued with our work of sorting arrays. I felt that this period might be helpful for me to update my error log. I also tried applying quick sort to a few real-life problems. After completing the questions for the advanced group, I thought it might be interesting for me to try the Panther Pantry class of sorting the list of items. It seems like putting it into an array of items and then checking the individual department, tax status and name takes a lot of time. I broke the steps down to create simple programs, however I cannot check it as I did not create the Product class earlier. I felt that just creating an array and sorting it by its individual department and name and price would be a plausible task for now.

No comments:

Post a Comment