?? min value.txt
字號:
Write a C program to find the mininum value in a binary search tree.
Discuss it!
#define NOT_FOUND -999
struct Bintree{
int element;
struct Bintree *left;
struct Bintree *right;
};
typedef struct Bintree* Tree;
int findMinElement( Tree T) // Recursively finding min element
{
if( !T )
return NOT_FOUND;
else if( !T->left )
return T->element;
else
return findMin( T->left );
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -