Skip to main content

Practice

String lab: transformations under constraints

⭐⭐⭐ advanced~55 min of coding6 challenges

Six string transformations with hidden boundaries; verify all three edge inputs before submitting.

Checking your progress…0%

What you will practice

  1. Mask the digits⭐⭐ intermediate
  2. Collapse adjacent duplicates⭐⭐ intermediate
  3. Count words with messy spacing⭐⭐ intermediate
  4. Longest run⭐⭐ intermediate
  5. Caesar shift with pass-through⭐⭐⭐ advanced
  6. Run-length encode (flush the last run)⭐⭐⭐ advanced

Need the concept first? Re-read the lesson.