diff --git a/DataStructures/Lists/CountSinglyLinkedListRecursion.java b/DataStructures/Lists/CountSinglyLinkedListRecursion.java index 28b1ce1b..78e854e2 100644 --- a/DataStructures/Lists/CountSinglyLinkedListRecursion.java +++ b/DataStructures/Lists/CountSinglyLinkedListRecursion.java @@ -18,9 +18,7 @@ public class CountSinglyLinkedListRecursion extends SinglyLinkedList { private int countRecursion(Node head) { return head == null ? 0 : 1 + countRecursion(head.next); } - /** - *Returns the count of the list. - */ + /** Returns the count of the list. */ @Override public int count() { return countRecursion(getHead());