<reponame>Dongfang1021/Leetcode
class Solution:
    def fixedPoint(self, arr: List[int]) -> int:
        for i in range(len(arr)):
            if arr[i] == i:
                return(i)
        return(-1)
class Solution:
    def fixedPoint(self, arr: List[int]) -> int:
        for i in range(len(arr)):
            if arr[i] == i:
                return(i)
        return(-1)