NetApp interview question

Dynamic programming, Min heap