• + 1 comment

    This is true just tested. So ideal range is int min = a[a.length-1]; int max = b[0];