Given a list of states, remove all the states that have two-word names.

If

 s1 = 'Alabama Montana North Carolina Vermont Nevada'; 

then

 s2 = 'Alabama Montana  Vermont Nevada';

Solution Stats

4407 Solutions

1219 Solvers

Last Solution submitted on Jan 25, 2026

Last 200 Solutions

Problem Comments

Solution Comments

Show comments
Loading...

Problem Recent Solvers1219

Suggested Problems

More from this Author96

Problem Tags

Community Treasure Hunt

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

Start Hunting!