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

Learn moreOpportunities for recent engineering grads.

Apply Today**New to MATLAB?**

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

151 correct solutions
67 incorrect solutions

Last solution submitted on Jun 08, 2015

3 players like this problem

1 player likes this solution

1 Comment