Solution to Codility lesson5-exercise2 Fish problem, link to Codility problem and complete solution at the end of the post. Definitions: Context (from Codility): You are given two non-empty zero-indexed arrays A and B consisting of N integers. Arrays A and B represent N voracious fish in a river, ordered downstream along […]