MCPcopy Create free account
hub / github.com/Vishruth-S/CompetitiveCode / rotatedDigits

Function rotatedDigits

LeetCode_problems/Rotate Digits/solution.js:15–21  ·  view source on GitHub ↗
(N)

Source from the content-addressed store, hash-verified

13};
14
15var rotatedDigits = function (N) {
16 let count = 0;
17 for (let i = 1; i <= N; i++) {
18 if (IsGood(i)) count++;
19 }
20 return count;
21};

Callers

nothing calls this directly

Calls 1

IsGoodFunction · 0.85

Tested by

no test coverage detected