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.25% Correct | 64.75% Incorrect
Last Solution submitted on Jan 10, 2024

Problem Comments

Solution Comments

Show comments

Problem Recent Solvers200

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!