<gh_stars>0
class Solution:
    def increasingTriplet(self, nums: List[int]) -> bool:
        first = second = math.inf
        for i in nums:
            if  i <=first:
                first = i
            elif i<=second:
                second = i
            else:
                return True
        return False
class Solution:
    def increasingTriplet(self, nums: List[int]) -> bool:
        first = second = math.inf
        for i in nums:
            if  i <=first:
                first = i
            elif i<=second:
                second = i
            else:
                return True
        return False