摘要: 本题要求实现二分查找算法。 函数接口定义: Position BinarySearch( List L, ElementType X ); 其中List结构定义如下: typedef int Position; typedef struct LNode *List; struct LNode { E 阅读全文
posted @ 2020-07-16 11:17 别团等shy哥发育 阅读(20) 评论(0) 推荐(0)
摘要: 本题要求给定二叉树的4种遍历。 函数接口定义: void InorderTraversal( BinTree BT ); void PreorderTraversal( BinTree BT ); void PostorderTraversal( BinTree BT ); void Levelor 阅读全文
posted @ 2020-07-16 11:13 别团等shy哥发育 阅读(24) 评论(0) 推荐(0)