Assignment 3: Due Tuesday of week 13 - PowerPoint PPT Presentation

1 / 1
About This Presentation
Title:

Assignment 3: Due Tuesday of week 13

Description:

Assignment 3: Due Tuesday of week 13 Modify MyHeap.java in Tutorial 6 s folder so that the class ArrayNode has five data fields: int key; char letter; – PowerPoint PPT presentation

Number of Views:21
Avg rating:3.0/5.0
Slides: 2
Provided by: Compute108
Category:

less

Transcript and Presenter's Notes

Title: Assignment 3: Due Tuesday of week 13


1
Assignment 3 Due Tuesday of week 13
  • Modify MyHeap.java in Tutorial 6s folder so that
    the class ArrayNode has five data fields
  • int key
  • char letter
  • ArrayNode parent
  • ArrayNode left
  • ArrayNode right
  • and use the modified MyHeap to construct
    Huffman code tree. The program can read n
    pairs (ai, bi) from the keyboard , where ai is
    the number of times that character/letter bi
    appears and construct the Huffman code tree for
    the n pairs.
Write a Comment
User Comments (0)
About PowerShow.com