Home / LeetCode / 2657. Find the Prefix Common Array of Two Arrays LeetCode2657. Find the Prefix Common Array of Two Arrays January 14, 2025 Medium, Prefix Sum Share this post on: I hope every lc problems I encounter in the future will be as simple as this one. Single Pass with Frequency Array