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.45% Correct | 64.55% Incorrect
Last Solution submitted on Jun 04, 2024

Problem Comments

Solution Comments

Show comments

Problem Recent Solvers202

Suggested Problems

More from this Author100

Community Treasure Hunt

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

Start Hunting!