| NAME: Midterm Exam | March 11, 1998 Computer Science 226 | 
This test is 11 questions, weighted as indicated. Do all of your work on these pages (use the back for scratch space), giving the answer in the space provided. Put your name on every page (now), and write out and sign the Honor Code pledge before turning in the test.
``I pledge my honor that I have not violated the Honor Code during 
this examination.''
                                running time                        
                         worst      best      average     stable?    inplace?
  insertion
  selection
  bubble
  shellsort
   1, 4, 13, ...
  heapsort
  mergesort
  Batcher's sort
  quicksort
  LSD radix sort
  MSD radix sort
          B E A T U N L V
          B E A T U N L V
into an initially empty binomial queue.
          B E A T U N L V
are inserted in that order into an initially empty tree.
          B E A T U N L V
are inserted in that order into an initially empty tree.
          B E A T U N L V
are inserted in that order into an initially empty tree,
using the top-down insertion method.
          B E A T U N L V
are inserted in that order into an initially empty tree.
00010 00101 00001 10100 10101 01110 01100 10110are inserted in that order into an initially empty trie.
00010 00101 00001 10100 10101 01110 01100 10110are inserted in that order into an initially empty trie.