Arrays
Declaring and initializing arrays
Common array operations
2D arrays
Strings
Basic string operations
Character operations
Character frequency counting
Palindrome check
String to number and vice versa
Common patterns
Reverse a string
Count occurrences of a character
Split by delimiter (manual)
Arrays and strings are the foundation of every CP problem. Make sure you can manipulate them confidently before moving to more advanced topics.
Practice
Sheet 3: Arrays and Strings
Practice problems for this tutorial.