Binary Tree

已完成 已发布的 Nov 9, 2003 货到付款
已完成 货到付款

Define a BinaryTree class that contains a pointer that would point to a dynamic array of structures.

Each structure contains two fields, a data field and a balance-factor field.

Define a constructor that receives an array, creates a dynamic arrayof structures and initializes it.

Define a BalanceFactor() method to compute the balance-factors of all nodes and stores them in each node's balance-factor field.

Define ComputeBalance() to compute the balance-factor of an

individual node.

Define Insert() method to insert a node into the tree.

Define Delete() method to delete a node from the tree.

Define TraversInOrder() to display the tree inorder.

As always, create several different examples and test your

methods.

## Deliverables

1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.

## Platform

use dev c++

C 编程 工程 MySQL PHP 软件构架 软件测试

项目ID: #3006797

关于项目

4个方案 远程项目 活跃的Nov 10, 2003

授予:

panthomakos

See private message.

$7 USD 在1天内
(3条评论)
0.9

有4名威客正在参与此工作的竞标,均价$39/小时

katchei

See private message.

$34USD 在1天里
(10条评论)
3.9
shashikhanvw

See private message.

$102USD 在1天里
(15条评论)
3.8
naumanakbar

See private message.

$11.05USD 在1天里
(1条评论)
0.0