这是林永吉的算法题仓库
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

17 行
363 B

  1. #pragma once
  2. #include <stdio.h>
  3. #include <math.h>
  4. #include <atlstr.h>
  5. struct TreeNode
  6. {
  7. int val;
  8. struct TreeNode* left;
  9. struct TreeNode* right;
  10. };
  11. int MinDepth(struct TreeNode* root);
  12. TreeNode* CreatBitTree(char str[][50], int return_count);
  13. void CreatBitTreeNode1(char str[][50], int return_count, TreeNode* cur, int curIndex);
  14. void free_tree(TreeNode* T);