fixed spelling mistakes

This commit is contained in:
Doru Kesriyeli 2018-10-07 16:55:52 -07:00 committed by GitHub
parent 18b30402be
commit eb01780ae6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,10 +2,10 @@
* This class implements a SinglyLinked List. This is done
* 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
* 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
* at the head/front of the list.
*
@ -120,7 +120,7 @@ class SinglyLinkedList{
/**
* 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.
*
* @author Unknown