Cody

Problem 66. Find the two-word state names

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

45.14% Correct | 54.86% Incorrect
Last solution submitted on Oct 20, 2017

Problem Comments

Solution Comments

Tags

Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB today!