X Tutup
Skip to content

Commit eb01780

Browse files
authored
fixed spelling mistakes
1 parent 18b3040 commit eb01780

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

DataStructures/Lists/SinglyLinkedList.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
* This class implements a SinglyLinked List. This is done
33
* using SinglyLinkedList class and a LinkForLinkedList Class.
44
*
5-
* A linked list is implar to an array, it hold values.
5+
* A linked list is similar to an array, it hold values.
66
* However, links in a linked list do not have indexes. With
77
* a linked list you do not need to predetermine it's size as
8-
* it gorws and shrinks as it is edited. This is an example of
8+
* it grows and shrinks as it is edited. This is an example of
99
* a singly linked list. Elements can only be added/removed
1010
* at the head/front of the list.
1111
*
@@ -120,7 +120,7 @@ public static void main(String args[]){
120120

121121
/**
122122
* This class is the nodes of the SinglyLinked List.
123-
* They consist of a vlue and a pointer to the node
123+
* They consist of a value and a pointer to the node
124124
* after them.
125125
*
126126
* @author Unknown

0 commit comments

Comments
 (0)
X Tutup