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

4417 Solutions

1224 Solvers

Last Solution submitted on Aug 24, 2026

Last 200 Solutions

Problem Comments

Solution Comments

Show comments
Loading...

Problem Recent Solvers1224

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!