Skip to content

joakim-olsson/Singly-LinkedList-Implementation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ab9efc2 · Jan 24, 2019

History

2 Commits
Jan 24, 2019
Jan 24, 2019

Repository files navigation

Singly LinkedList Implementation In Java


An implementation of the LinkedList data structure written in Java with its corresponding API.

Runtime complexity for all methods:

addFirst(T element) -- O(1)

addLast(T element) -- O(1)

getFirst() -- O(1)

getLast() -- O(1)

get(int index) -- O(n)

removeFirst() -- O(1)

clear() -- O(1)

size() -- O(1)

isEmpty() -- O(1)

toString() -- O(n)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages