Amazon Interview Question

find second minimun element in array O(n)

Interview Answers

Anonymous

Apr 20, 2018

i have answer right but fail on edge cases like how distinct duplications

1

Anonymous

Jun 8, 2020

Use minimum pile with size of k

1