Concept Flow - Kth Smallest Element Using Min Heap
Build Min Heap from array
Extract min element 1st time
→Store extracted element
Extract min element 2nd time
→Store extracted element
Extract min element kth time
→Result: kth smallest element
Build a min heap from the array, then remove the smallest element k times. The kth removed element is the kth smallest.
