HeapTrace Interview Question

code to find second smallest element in integer array ?