java || 1ms || 100% faster || 3 line solution
class Solution {\n    public int smallestEqual(int[] nums) {\n\n        for(int i=0;i<nums.length;i++){\n            if(nums[i]%10==i%10){\n                retu
class Solution {\n    public int smallestEqual(int[] nums) {\n\n        for(int i=0;i<nums.length;i++){\n            if(nums[i]%10==i%10){\n                return i;\n            }\n        }\n        return -1;\n    }\n}
['Java']