Options
All
  • Public
  • Public/Protected
  • All
Menu

Linked List data structure

Hierarchy

  • LinkedList

Index

Constructors

constructor

Properties

compare

compare: Comparator

head

head: null | LinkedListNode
property

Head of the linkedList

tail

tail: null | LinkedListNode
property

Tail of the linkedList

Methods

append

delete

deleteHead

deleteTail

find

fromArray

prepend

reverse

toArray

  • toArray(): any[]

toString

  • toString(callback?: (value: any) => string): string