#1445 closed defect (fixed)
on Collection.BinaryTree bug of preorderTraversal
Reported by: | guest | Owned by: | Tom Trenka |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | General | Version: | 0.3 |
Keywords: | binarytree preorder flag | Cc: | |
Blocked By: | Blocking: |
Description
At the end of code ,the js code assign preorder to flag of int-0.
but when in toString() function,there is an if (flag) statement.
If use int-0 as flag, it will always neglect preorder and always use inOrderTraversal. so it is better to change to char-"0" to avoid this bug
Change History (3)
comment:1 Changed 15 years ago by
Milestone: | → 0.4 |
---|---|
Owner: | changed from any to Tom Trenka |
comment:2 Changed 15 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
Tom, a very easy change if you agree with the bug...