Interview coding tests
Given a non-empty zero-indexed array A of N integers, return ... There are mixed opinions to the benefits of asking questions like this to prospective candidates, especially in a software development role where there could be…