修改include文件

This commit is contained in:
2024-09-16 08:55:16 +08:00
parent 1e9de7c9c2
commit b1893c001e
8 changed files with 8 additions and 8 deletions

View File

@@ -1,4 +1,4 @@
#include "include/TreeNode.h" #include "TreeNode.h"
int max(const int a, const int b) int max(const int a, const int b)
{ {

View File

@@ -1,4 +1,4 @@
#include "include/TreeNode.h" #include "TreeNode.h"
#include <stdlib.h> #include <stdlib.h>
struct TreeNode *sortedArrayToBST(int *nums, int numsSize) struct TreeNode *sortedArrayToBST(int *nums, int numsSize)

View File

@@ -1,4 +1,4 @@
#include "include/TreeNode.h" #include "TreeNode.h"
#include <math.h> #include <math.h>
#include <stdbool.h> #include <stdbool.h>
#include <stdlib.h> #include <stdlib.h>

View File

@@ -1,4 +1,4 @@
#include "include/TreeNode.h" #include "TreeNode.h"
#include <math.h> #include <math.h>
int minDepth(struct TreeNode *root) int minDepth(struct TreeNode *root)

View File

@@ -1,4 +1,4 @@
#include "include/TreeNode.h" #include "TreeNode.h"
#include <stdbool.h> #include <stdbool.h>
bool in_order(struct TreeNode *root, int target, int sum) bool in_order(struct TreeNode *root, int target, int sum)

View File

@@ -1,4 +1,4 @@
#include "include/ListNode.h" #include "ListNode.h"
#include <stdbool.h> #include <stdbool.h>
bool hasCycle(struct ListNode *head) bool hasCycle(struct ListNode *head)

View File

@@ -1,4 +1,4 @@
#include "include/TreeNode.h" #include "TreeNode.h"
#include <stdlib.h> #include <stdlib.h>
struct list_t struct list_t

View File

@@ -1,4 +1,4 @@
#include "include/TreeNode.h" #include "TreeNode.h"
#include <stdlib.h> #include <stdlib.h>
struct list_t struct list_t