Discover MakerZone

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

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!

Problem 325. 2 b | ~ 2 b

Created by Alan Chalker

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


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

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

Problem Group

Solution Statistics

222 correct solutions 259 incorrect solutions
Last solution submitted on Oct 18, 2015

Problem Comments

Solution Comments