CSC311: Data Structures

Fall 2007

Programming Project 2

Due November 8, Thursday, 2007

Binary Tree Implementation

Description:

Chapter 7 discusses the definition and properties of trees and binary trees (Sections 7.1.2, 7.1.3, 7.3.1, and 7.3.2), and their implementations using a linked structure (Sections 7.1.3 and 7.3.4). The text also discusses the representation of binary trees using array list (Section 7.3.5). In this project, you will implement a binary tree in Java using array list. You will also implement three traversal algorithms of binary trees (Section 7.3.6). 

Task:

Write a Java program to implement a binary tree using array list.

Submission: