Remove max/min code

why we made heapify function as private

@Pritamkumarcoder you can make it public also, it’d make no difference. However, it is a good coding practice to make data memebers and functions which are not needed outside the class, as private.

1 Like