From cdaef0801304867631ece34c8d7658ea4172982a Mon Sep 17 00:00:00 2001 From: ergz Date: Thu, 13 Jul 2023 23:31:43 -0700 Subject: [PATCH] adds a todo for the next thing I can try --- c/binary-tree.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/c/binary-tree.c b/c/binary-tree.c index eb363ec..d9228fc 100644 --- a/c/binary-tree.c +++ b/c/binary-tree.c @@ -4,6 +4,11 @@ search algorithms but uses built in javascript data structures to jump a bunch of steps, here I write everything from scratch */ +/* +next challenge to is write a function to read in a json file and +parse it as a tree??? + */ + #include #include @@ -32,6 +37,10 @@ Node* new_node(int value) { return (n); } +void json_file_to_tree(char* filepath) { + // TODO!!!! +} + void push(Stack* stack, Node* node) { if (stack->len == 0) { stack->head = node;