chore: fix typos in src/main/java/com/thealgorithms/devutils/nodes/TreeNode.java (#7033)

Fix typos in src/main/java/com/thealgorithms/devutils/nodes/TreeNode.java
This commit is contained in:
Lê Nam Khánh
2025-11-05 17:53:11 +07:00
committed by GitHub
parent fab09e7da1
commit 8ae57476b1

View File

@@ -12,7 +12,7 @@ package com.thealgorithms.devutils.nodes;
public abstract class TreeNode<E> extends Node<E> {
/**
* Refernce to the parent Node.
* Reference to the parent Node.
*/
private TreeNode<E> parentNode;
/**
@@ -21,7 +21,7 @@ public abstract class TreeNode<E> extends Node<E> {
private int depth;
/**
* Empty contructor.
* Empty constructor.
*/
public TreeNode() {
super();