Explore tens of thousands of sets crafted by our community.
Data Structure Space Complexity
10
Flashcards
0/10
Array
O(n)
Linked List
O(n)
Doubly Linked List
O(n)
Stack (Array Implementation)
O(n)
Stack (Linked List Implementation)
O(n)
Queue (Array Implementation)
O(n)
Queue (Linked List Implementation)
O(n)
Binary Tree
O(n)
Binary Search Tree
O(n)
Graph (Adjacency Matrix)
O(v^2)
© Hypatia.Tech. 2024 All rights reserved.