100% T.C. easy short solution
\nPLEASE UPVOTE IF YOU LIKE\n\n```\n        for (int i = 0; i < nums.length; i++) {\n            if (i % 10 == nums[i]){\n                return i;\n           
```\nPLEASE UPVOTE IF YOU LIKE\n```\n```\n        for (int i = 0; i < nums.length; i++) {\n            if (i % 10 == nums[i]){\n                return i;\n            }\n        }\n        return -1;
['Java']