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

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

Examples:

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

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

Tags

Problem Group

Solution Statistics

189 correct solutions 248 incorrect solutions
Last solution submitted on Sep 16, 2014

Problem Comments

Solution Comments