class Medianimport { Median } from "https://deno.land/x/blocks@1.100.1/utils/stat.ts"; ConstructorsnewMedian(maxSize?: number)PropertiesprivatemaxHeap: MaxHeapprivateminHeap: MinHeapprivateremoveCount: { [key: number]: number; }privatevalues: number[]MethodsprivateaddValue(value: number): voidprivatecalculateMedian(): numberprivateremoveValue(value: number): voidadd(value: number): voidget(): number