中国高校课件下载中心 》 教学资源 》 大学文库

复旦大学:《数据结构与算法设计》实验设计_Lab 4. Binary Search Trees

文档信息
资源类别:文库
文档格式:PDF
文档页数:1
文件大小:7.82KB
团购合买:点击进入团购
内容简介
复旦大学:《数据结构与算法设计》实验设计_Lab 4. Binary Search Trees
刷新页面文档预览

Lab 4 Binary search Trees Write code for the following methods of binary search trees (1)SEARCH(x, k)(recursion and iterative version); (20%) (2)MINIMUN(x)and MAXIMUN(x); (10%) (3)SUCCESSOR(x)and PREDECESSOR(x); (30%) (4) INSERT(T,z);(20%) (5)DELETE(T, z).(30%) Note. T' points the root of a binary search tree, x points any node in a binary search tress, and k denotes a key

Lab 4 Binary Search Trees. Write code for the following methods of binary search trees. (1) SEARCH(x, k) (recursion and iterative version); (20%) (2) MINIMUN(x) and MAXIMUN(x); (10%) (3) SUCCESSOR(x) and PREDECESSOR(x); (30%) (4) INSERT(T, z); (20%) (5) DELETE(T, z). (30%) Note. T points the root of a binary search tree, x points any node in a binary search tress, and k denotes a key

已到末页,全文结束
刷新页面下载完整文档
VIP每日下载上限内不扣除下载券和下载次数;
按次数下载不扣除下载券;
注册用户24小时内重复下载只扣除一次;
顺序:VIP每日次数-->可用次数-->下载券;
相关文档