Skip to content

Commit 9f5478f

Browse files
Fix a wrong comment in the tree postorder traversal (#5774)
1 parent be70801 commit 9f5478f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/thealgorithms/datastructures/trees/BinaryTree.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ public void preOrder(Node localRoot) {
281281
}
282282

283283
/**
284-
* Prints rightChild - leftChild - root
284+
* Prints leftChild - rightChild - root
285285
*
286286
* @param localRoot The local root of the binary tree
287287
*/

0 commit comments

Comments
 (0)