class Medianimport { Median } from "https://dotland.deno.dev/x/live@1.107.0/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