EZ Python Code For Beginners O(N)
\nclass Solution:\n    def smallestEqual(self, nums: List[int]) -> int:\n        val=-1\n        for i in range(len(nums)):\n            if i%10==nums[i]:\n    
```\nclass Solution:\n    def smallestEqual(self, nums: List[int]) -> int:\n        val=-1\n        for i in range(len(nums)):\n            if i%10==nums[i]:\n                val=i\n                return val\n        return val\n```
['Python']