nums = [2,5,3,4,5] nums = [6,5,3,4,0] def increasingTriplet(nums): first = nums[0] second = float('inf') third = float('inf') for n in nums: if nfirst and nsecond and n