Problem 466. Compress strings (not springs)

Please remove excess space, limit one space between others, and no space before punctuation marks.

  • For example, 'Trendy , Cody , Contest .'
  • should be ---- 'Trendy, Cody, Contest.'

Solution Stats

35.35% Correct | 64.65% Incorrect
Last Solution submitted on Mar 28, 2024

Problem Comments

Solution Comments

Show comments


Problem Recent Solvers201

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!