Docsity

Algorithms and Data Structures - Quiz 4 Summer 2002 | CSE 331, Quizzes of Computer Science

Partial preview of the text

Download Algorithms and Data Structures - Quiz 4 Summer 2002 | CSE 331 and more Quizzes Computer Science in PDF only on Docsity!

CSE 331 Summer 2002 Quiz

Name:

  1. Sort the following sequence using quick sort. Use one line per loop iteration. Please mark l (i) and r (j) during the partitioning phase. g d c b a q t r
  2. Sort the following sequence using merge sort. Use a tree similar to the one used in class to display what is being divided and what is being merged. q t a r b