Heaps : max and min ~ functionalities in it can be directly done my importing data structure priority queue having inbuild functions to create heaps