':type nums: List[int]
:rtype: bool'

def increasingTriplet(self, nums):

    (min_num, a, b) = (float('inf'), float('inf'), float('inf'))
    for c in nums:
        if (min_num >= c):
            min_num = c
        elif (b >= c):
            (a, b) = (min_num, c)
        else:
            return True
    return False
