fixed spelling mistakes
This commit is contained in:
parent
18b30402be
commit
eb01780ae6
@ -2,10 +2,10 @@
|
|||||||
* This class implements a SinglyLinked List. This is done
|
* This class implements a SinglyLinked List. This is done
|
||||||
* using SinglyLinkedList class and a LinkForLinkedList Class.
|
* using SinglyLinkedList class and a LinkForLinkedList Class.
|
||||||
*
|
*
|
||||||
* A linked list is implar to an array, it hold values.
|
* A linked list is similar to an array, it hold values.
|
||||||
* However, links in a linked list do not have indexes. With
|
* However, links in a linked list do not have indexes. With
|
||||||
* a linked list you do not need to predetermine it's size as
|
* a linked list you do not need to predetermine it's size as
|
||||||
* it gorws and shrinks as it is edited. This is an example of
|
* it grows and shrinks as it is edited. This is an example of
|
||||||
* a singly linked list. Elements can only be added/removed
|
* a singly linked list. Elements can only be added/removed
|
||||||
* at the head/front of the list.
|
* at the head/front of the list.
|
||||||
*
|
*
|
||||||
@ -120,7 +120,7 @@ class SinglyLinkedList{
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* This class is the nodes of the SinglyLinked List.
|
* This class is the nodes of the SinglyLinked List.
|
||||||
* They consist of a vlue and a pointer to the node
|
* They consist of a value and a pointer to the node
|
||||||
* after them.
|
* after them.
|
||||||
*
|
*
|
||||||
* @author Unknown
|
* @author Unknown
|
||||||
|
Loading…
Reference in New Issue
Block a user