Find the Prefix Common Array of Two Arrays

mediumSolve on LeetCodeLast edited: August 2, 2025