def medianSlidingWindow_TLE(self, nums, k):
        if len(nums) < 1:
            return []

        pq = PriorityQueue()
        for i in xrange(k):
            pq.insert(nums[i])

        ret = []
        mid = k/2
        if k%2 == 0:
            mid -= 1

        ret.append(pq[mid])
        for i in xrange(k, len(nums)):
            pq.remove(nums[i-k])
            pq.insert(nums[i])
            ret.append(pq[mid])

        return ret
Return the type just above BaseEntity in method resolution order.
dataset/ETHPy150Open algorhythms/LintCode/archive/Sliding Window Median TLE.py/Solution.medianSlidingWindow_TLE--crossover with--dataset/ETHPy150Open spaceboats/busbus/busbus/util/__init__.py/entity_type