Find the two-word state names - MATLAB Cody - MATLAB Central

Problem 66. Find the two-word state names

Difficulty:Rate

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

31.05% Correct | 68.95% Incorrect
Last Solution submitted on Mar 22, 2025

Problem Comments

Solution Comments

Show comments
Who Deserves Your Praise? Discover the New Contribution Widget!
...
We are excited to announce another update to our Discussions area: the...

Problem Recent Solvers1209

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!
Go to top of page