Skip to content

Commit

Permalink
Optimization
Browse files Browse the repository at this point in the history
Signed-off-by: begeekmyfriend <[email protected]>
  • Loading branch information
begeekmyfriend committed Sep 16, 2017
1 parent 7e726cc commit 3c1b10e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion 102_binary_tree_level_order_traversal/bst_bfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,6 @@ static int** levelOrder(struct TreeNode* root, int** columnSizes, int* returnSiz
if (root->right != NULL) {
new = node_new(&free_list, root->right);
list_add_tail(&new->link, &bfs_queue0);
(*columnSizes)[level]++;
}

results[level] = malloc(sizeof(int));
Expand Down

0 comments on commit 3c1b10e

Please sign in to comment.