Lists Flashcards
1
Q
Types of Linked Lists
A
Singularly Linked Lists
Circular Singularly Linked Lists
Doubly Linked Lists
Circular Doubly Linked Lists
2
Q
Creating a new SLL
A
space complexity: O(1)
time complexity: O(1)
3
Q
Insertion into a SLL
A
space complexity: O(1)
time complexity: O(1)
4
Q
Searching in an SLL
A
space complexity: O(1)
time complexity: O(n)
5
Q
Traversing in SLL
A
space complexity: O(1)
time complexity: O(n)
6
Q
Deletion of a node in SLL
A
space complexity: O(1)
time complexity: O(n)
7
Q
Deletion of SLL
A
space complexity: O(1)
time complexity: O(1)