Skip to content

Commit

Permalink
Merge 0084e75 into e6df887
Browse files Browse the repository at this point in the history
  • Loading branch information
jesili committed Sep 2, 2018
2 parents e6df887 + 0084e75 commit be7ceb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion algorithms/tree/is_symmetric.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def is_symmetric_iterative(root):
return False
if left.val == right.val:
stack.append([left.left, right.right])
stack.append([left.right, right.right])
stack.append([left.right, right.left])
else:
return False
return True

0 comments on commit be7ceb0

Please sign in to comment.