41. Heaps (striver sheet)
Topics- 1. check given array is heap 2. convert max to min heap 3. Kth smallest element 4. Kth largest element 5. Top K freq elements Extras- 1. Quick Sort 2. Bucket Sort 3. Heap Sort ------------------------------------------------------------------------------------------------------------------------- Heaps implementation using arrays- Max heap Min Heap ------------------------------------------------------------ Heapify Algo : to place an element into its correct position in a binary heap -----------------------------------------------------------------------------------------------------...