Considering a character array representing a string, what is the space complexity for storing this string? - Study24x7
Social learning Network
2 followers study24x7 03 Jul 2024 10:58 AM study24x7 study24x7

Considering a character array representing a string, what is the space complexity for storing this string?

A

O(1)

B

O(n)

C

O(log n)

D

O(n^2)

study24x7
Write a comment
Related Questions
500+   more Questions to answer
Most Related Articles