Data Structures Practice Test
Data Structures Arrays and Strings 2
What is the space complexity of storing a string of length n?
Select your answer
A
O(1)
B
O(log n)
C
O(n)
D
O(n²)
Hint
✨ Remove Ads & Unlock Every Exam
— From $1.49