2 b | ~ 2 b - MATLAB Cody - MATLAB Central

Problem 325. 2 b | ~ 2 b

Difficulty:Rate
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

37.41% Correct | 62.59% Incorrect
Last Solution submitted on Apr 23, 2025

Problem Comments

Solution Comments

Show comments
PIVlab surpasses 100K all-time File Exchange downloads
During the past twelve months, PIVlab, a MATLAB Community Toolbox for particle...
4
8

Problem Recent Solvers400

Suggested Problems

More from this Author39

Problem Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!