Find the Prefix Common Array of Two Arrays | Leetcode 2657