aboutsummaryrefslogtreecommitdiffstats
path: root/src/datastructures/linkedlists/ArrayTaillessSinglyLinkedList.java
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-01-23 13:30:57 +0100
committerMattias Andrée <maandree@operamail.com>2014-01-23 13:30:57 +0100
commitebbc4215ec39a8a6d0868a000e3c77cffd7c53d0 (patch)
tree3b6383fd72b50919c8748580c97c55b756c631ff /src/datastructures/linkedlists/ArrayTaillessSinglyLinkedList.java
parentcode deduplication (diff)
downloadalgorithms-and-data-structures-ebbc4215ec39a8a6d0868a000e3c77cffd7c53d0.tar.gz
algorithms-and-data-structures-ebbc4215ec39a8a6d0868a000e3c77cffd7c53d0.tar.bz2
algorithms-and-data-structures-ebbc4215ec39a8a6d0868a000e3c77cffd7c53d0.tar.xz
doc
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'src/datastructures/linkedlists/ArrayTaillessSinglyLinkedList.java')
-rw-r--r--src/datastructures/linkedlists/ArrayTaillessSinglyLinkedList.java6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/datastructures/linkedlists/ArrayTaillessSinglyLinkedList.java b/src/datastructures/linkedlists/ArrayTaillessSinglyLinkedList.java
index 09de059..7e72881 100644
--- a/src/datastructures/linkedlists/ArrayTaillessSinglyLinkedList.java
+++ b/src/datastructures/linkedlists/ArrayTaillessSinglyLinkedList.java
@@ -22,7 +22,11 @@ package datastructures.linkedlists;
* linked list 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.
+ * removed before that 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 <T> The value stored in the structure
*/