Cody

Problem 322. Number of Circles in a Number

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

Solution Stats

67.46% Correct | 32.54% Incorrect
Last solution submitted on Mar 26, 2019

Problem Comments

Solution Comments