From ebbc4215ec39a8a6d0868a000e3c77cffd7c53d0 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Thu, 23 Jan 2014 13:30:57 +0100 Subject: doc MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/datastructures/linkedlists/ArraySinglyLinkedList.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/datastructures/linkedlists/ArraySinglyLinkedList.java') diff --git a/src/datastructures/linkedlists/ArraySinglyLinkedList.java b/src/datastructures/linkedlists/ArraySinglyLinkedList.java index e1421b7..7310695 100644 --- a/src/datastructures/linkedlists/ArraySinglyLinkedList.java +++ b/src/datastructures/linkedlists/ArraySinglyLinkedList.java @@ -22,7 +22,10 @@ package datastructures.linkedlists; * is a linked list constructed by parallel arrays. In * this implementation, when a node is removed the value * stored that that position is not removed before that - * position is reused. + * position is reused. Insertion methods have constant + * amortised time complexity, and constant amortised + * memory complexity, removal methods have constant time + * complexity and constant memory complexity. * * @param The value stored in the structure */ -- cgit v1.2.3-70-g09d2