修改include文件
This commit is contained in:
@@ -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)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -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)
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|||||||
@@ -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)
|
||||||
|
|||||||
@@ -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)
|
||||||
|
|||||||
@@ -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)
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#include "include/TreeNode.h"
|
#include "TreeNode.h"
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
struct list_t
|
struct list_t
|
||||||
|
|||||||
Reference in New Issue
Block a user