Skip to content
UPEEC

Strings as a Data Structure

Sequences of characters — arrays with special operations (search, compare, substring).

Beginner
Comments 0

Immutable in Java/Python (build with StringBuilder/join); mutable in C/C++. Many problems reduce to counting characters or comparing substrings.

Spotted a mistake or want to add detail? Suggest an improvement — Content Contributors' edits are reviewed by editors before they go live.

Discussion (0)

Sign in or join free to ask questions and discuss this topic.