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

44.75% Correct | 55.25% Incorrect
Last solution submitted on Sep 20, 2016

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!

Join the 15-year community celebration.

Play games and win prizes!

Learn more