X-Git-Url: https://wannabe.guru.org/gitweb/?a=blobdiff_plain;f=math_utils.py;fp=math_utils.py;h=3953ae585d249123c17e82f4a829ad68cf442c0b;hb=31c81f6539969a5eba864d3305f9fb7bf716a367;hp=3216d4a9222f3e9760d2f5276b40503e08cfee8f;hpb=5317c50ce7a96a37acfab3800c0935580766dbbf;p=python_utils.git diff --git a/math_utils.py b/math_utils.py index 3216d4a..3953ae5 100644 --- a/math_utils.py +++ b/math_utils.py @@ -2,8 +2,8 @@ import functools import math +from heapq import heappop, heappush from typing import List -from heapq import heappush, heappop class RunningMedian(object):