This preview shows pages 1–2. Sign up to view the full content.
This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: Input: The input file, called the p2_input.txt , which contains the list of words with their length. Your input file always ends with 0. For example, When you submit your PA2, you dont need to submit input file. Your grader will use other input file in the same format! Output: Print yout binary tree as follows; print ( position_num : word) for each level. Other Example: Input file: Output:...
View Full Document
- Fall '11
- C Programming