Count the Digits Zero, Two and Four up to N

Company: eBay

Difficulty: easy