Find the median in an array, by using heap
This is a practice for heap. The problem is from this blog: link check my recent code on github by PriorityQueue: link package feb; public class FindMedian { /* * Return the median of arr[]. It uses a max heap, min heap. Keep the number * of elements in 2 heaps differ… Read More »