Cody

Problem 325. 2 b | ~ 2 b

Given a string input, output true if there are 2 b's in it, false if otherwise

Examples:

'Macbeth' -> false 'Publius Cornelius Dolabella' -> true

Note: sometimes it's the littlest things that matter....

Solution Stats

42.86% Correct | 57.14% Incorrect
Last solution submitted on Jan 11, 2017

Problem Comments

Solution Comments

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!