From 348c815da0aed92c31df01adde270b62053af230 Mon Sep 17 00:00:00 2001 From: Arpitjain250 <30417007+Arpitjain250@users.noreply.github.com> Date: Tue, 16 Oct 2018 14:53:15 +0530 Subject: [PATCH 1/2] Update DoublyLinkedList.java --- Data Structures/Lists/DoublyLinkedList.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Data Structures/Lists/DoublyLinkedList.java b/Data Structures/Lists/DoublyLinkedList.java index c3229d9c336d..f21c90e46113 100644 --- a/Data Structures/Lists/DoublyLinkedList.java +++ b/Data Structures/Lists/DoublyLinkedList.java @@ -1,6 +1,7 @@ /** * This class implements a DoublyLinkedList. This is done using the classes * LinkedList and Link. + Concepts of pointers is not used in Java so we implement here directly. * * A linked list is simplar to an array, it holds values. However, * links in a linked list do not have indees. With a linked list @@ -211,4 +212,4 @@ public static void main(String args[]){ myList.insertOrdered(3); myList.display(); // <-- 3(head) <--> 10 <--> 13 <--> 23 <--> 67(tail) --> } -} \ No newline at end of file +} From ea3e55ed7efebec861d7a1d1769693e2b8b21b20 Mon Sep 17 00:00:00 2001 From: Arpitjain250 <30417007+Arpitjain250@users.noreply.github.com> Date: Tue, 16 Oct 2018 14:53:59 +0530 Subject: [PATCH 2/2] Update DoublyLinkedList.java --- Data Structures/Lists/DoublyLinkedList.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Data Structures/Lists/DoublyLinkedList.java b/Data Structures/Lists/DoublyLinkedList.java index f21c90e46113..bf12cad77260 100644 --- a/Data Structures/Lists/DoublyLinkedList.java +++ b/Data Structures/Lists/DoublyLinkedList.java @@ -1,7 +1,7 @@ /** * This class implements a DoublyLinkedList. This is done using the classes * LinkedList and Link. - Concepts of pointers is not used in Java so we implement here directly. + Concepts of pointers is not used in Java so we implement here directly.. * * A linked list is simplar to an array, it holds values. However, * links in a linked list do not have indees. With a linked list