Question: [python] Write a method that given a heap array returns the second smallest element in a heap.
[python] Write a method that given a heap array returns the second smallest element in a heap.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
