Count Numbers Changed by Valid Digit Rotation
Company: Google
Role: Software Engineer
Category: Coding & Algorithms
Difficulty: medium
Interview Round: Other
Overview: Count Numbers Changed by Valid Digit Rotation. Rotate every decimal digit individually using these rules:0,1,8 stay unchanged;2 and 5 exchange;6 and 9 exchange;3,4,7 are invalid.