Lists Flashcards

1
Q

Types of Linked Lists

A

Singularly Linked Lists

Circular Singularly Linked Lists

Doubly Linked Lists

Circular Doubly Linked Lists

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Creating a new SLL

A

space complexity: O(1)

time complexity: O(1)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Insertion into a SLL

A

space complexity: O(1)

time complexity: O(1)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Searching in an SLL

A

space complexity: O(1)

time complexity: O(n)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Traversing in SLL

A

space complexity: O(1)

time complexity: O(n)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Deletion of a node in SLL

A

space complexity: O(1)

time complexity: O(n)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Deletion of SLL

A

space complexity: O(1)

time complexity: O(1)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly