Concept Flow - Kth Smallest Element Using Min Heap
Build Min Heap from array
Repeat k-1 times: Extract Min
After k-1 extractions, Min at root is kth smallest
Return root element
Build a min heap from the array, then remove the smallest element k-1 times. The root after these removals is the kth smallest element.
