From 9b53857a64707abc087bf1b4b57dac6849efe2dd Mon Sep 17 00:00:00 2001 From: ergz Date: Tue, 18 Jul 2023 23:10:03 -0700 Subject: [PATCH] removes debug prints --- c/breadth-first-search.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/c/breadth-first-search.c b/c/breadth-first-search.c index 3c8a50b..f524cb8 100644 --- a/c/breadth-first-search.c +++ b/c/breadth-first-search.c @@ -146,20 +146,15 @@ bool is_leaf(TreeNode* a) { // determine if two trees are equal bool tree_equal(TreeNode* root_a, TreeNode* root_b) { - printf("comparing the values: %d ---- %d\n", root_a->value, root_b->value); - if (root_a->value != root_b->value) { - printf("a value difference found....returning FALSE\n"); return (false); } if (is_leaf(root_a) && is_leaf(root_b)) { - printf("a terminal leaf\n"); return (true); } if (is_leaf(root_a) || is_leaf(root_b)) { - printf("a strucutre difference\n"); return (false); }