First Upload

This commit is contained in:
2022-02-25 15:33:16 +02:00
commit 0c74d10f0d
295 changed files with 74784 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
#include "General.h"
BOOLEAN Ex2BinaryTree(BinaryTree * root)
{
if (!root)
{
return (TRUE);
}
else
{
return (Ex2BinaryTree(root->left) &&
Ex2BinaryTree(root->right) &&
(root->right != NULL) ? root->info.int_ >= root->right->info.int_ : TRUE &&
(root->left != NULL) ? root->info.int_ >= root->left->info.int_ : TRUE);
}
}
void main(void)
{
}