Skip to main content
Loading page content
Explore
Learnings
Mental Math
Dashboard
More
Algo
Flow
Visualizers
Learnings
Quizzes
Mental Math
Dashboard
Log in
Sign up
Loading quiz challenge
Back to Visualizer
Question 1 of 5
Traversal
• Character by Character Traversal
What is the time complexity of traversing a string of length n character by character?
A
O(1)
B
O(n)
C
O(log n)
D
O(n^2)