• + 1 comment

    I still don't get it. Can someone explain to me how would baran_jana's algorithm work for the problem test case?

    1
    4
    2 2 3 7
    

    (it should return '2').