Find Jobs
Hire Freelancers

Binary tree

$30-40 USD

完了済み
投稿日: 約21年前

$30-40 USD

完了時にお支払い
Data: See the courses website for several data files for this assignment. Each contains a number of words and acronyms, one on each line. You may assume that none is more than 30 characters long. The words have been chosen at random from the UNIX dictionary. Task: 1: Build a binary tree of the data in any of the files. 2: Offer the facility to display the data (at user's choice) in lexicographic or reverse lexicographic order on screen or in the file. The file will be called [login to view URL] 3: Calculate the depth of the tree i.e. how many levels the tree has. (root=level 0). 4: Using the tree built in task 1,read the words from [login to view URL], look them up in the tree, and report whether each word is present in or absent from the tree. 5: Calculate the number of comparisons required during this operation for Succesesful (present) and Unsuccessful (absent) searches and produce a table in the following format: (1)No. of words (2)No. of comparisons required (3)Average no. of comparisons per word Successful: Unsuccessful: Overall: 6: Now create a binary tree by reading the data in [login to view URL] and repeat step 3-5. 7: Finish the assignment by qppending to your exercise a short section (one or two paragraphs) summarising the results and stating what they show (as a comment in the program). ## Deliverables 1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. 2) Installation package that will install the software (in ready-to-run condition) on the platform(s) specified in this bid request. 3) Complete ownership and distribution copyrights to all work purchased. ## Platform You need to use the Delphi 6 personal edition with Pascal and you need to create the binary tree with pointers.
プロジェクト ID: 2917907

プロジェクトについて

2個の提案
リモートプロジェクト
アクティブ 21年前

お金を稼ぎたいですか?

Freelancerで入札する利点

予算と期間を設定してください
仕事で報酬を得る
提案をご説明ください
登録して仕事に入札するのは無料です
アワード者:
ユーザーアバター
See private message.
$12 USD 14日以内
5.0 (16 レビュー)
3.5
3.5
この仕事に2人のフリーランサーが、平均$21 USDで入札しています
ユーザーアバター
See private message.
$29.75 USD 14日以内
4.9 (78 レビュー)
4.6
4.6

クライアントについて

UNITED ARAB EMIRATESのフラグ
United Arab Emirates
5.0
3
メンバー登録日:3月 21, 2003

クライアント確認

ありがとうございます!無料クレジットを受け取るリンクをメールしました。
メールを送信中に問題が発生しました。もう一度お試しください。
登録ユーザー 投稿された仕事の合計
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
プレビューを読み込み中
位置情報へのアクセスが許可されました。
あなたのログインセッションの有効期限がきれ、ログアウトされました。もう一度ログインしてください。