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 322. Number of Circles in a Number

Created by @bmtran

Given a number, return the number of closed 'circles' in the base 10 numerical representation.

Note: the number 4 has no circles

Example:

    8819 -> 5

Tags

Problem Group

Solution Statistics

120 correct solutions 56 incorrect solutions
Last solution submitted on Apr 11, 2014

Problem Comments

Solution Comments