# # max increasing subsequence # @param arr int整型一维数组 the array # @return int整型 # class Solution: def MLS(self , arr ): # write code here import heapq k = 1 maxc = 1 heapq.heapify(arr) #建小根堆 x = heapq.heappop(arr) #把...