func New() *RunningMedian {
	maxCompare := func(i, j int) bool {
		return i > j
	}

	minCompare := func(i, j int) bool {
		return i < j
	}
	return &RunningMedian{minPQ: priorityqueues.New[int](minCompare), maxPQ: priorityqueues.New[int](maxCompare)}
}
// New generates a Running Median
New generates a Running Median
// New generates a Running Median
func New() *RunningMedian {
	maxCompare := func(i, j int) bool {
		return i > j
	}
	minCompare := func(i, j int) bool {
		return i < j
	}
	return &RunningMedian{minPQ: priorityqueues.New[int](minCompare), maxPQ: priorityqueues.New[int](maxCompare)}
}
func New ( ) * RunningMedian { maxCompare := func ( i , j int ) bool { return i > j } minCompare := func ( i , j int ) bool { return i < j } return & RunningMedian { minPQ : priorityqueues . New [ int ] ( minCompare ) , maxPQ : priorityqueues . New [ int ] ( maxCompare ) } }
New generates a Running Median
New generates a Running Median