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
Problem Comments
Solution Comments
Show commentsProblem Recent Solvers239
Suggested Problems
-
Create a cell array out of a struct
2291 Solvers
-
Find the largest value in the 3D matrix
1624 Solvers
-
Getting the indices from a vector
11329 Solvers
-
Determine the number of odd integers in a vector
797 Solvers
-
Try 1.5.4: Celsius to Fahrenheit
849 Solvers
More from this Author56
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!