Search
⌘K
Get Premium
Leetcode 2956. Find Common Elements Between Two Arrays
Given two integer arrays, return two counts: how many indices in nums1 have values that appear anywhere in nums2, and how many indices in nums2 have values that appear anywhere in nums1. Count occurrences per index (duplicates are counted multiple times).
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
All Regions
Comments
Hello Interview Premium
Your account is free and you can post anonymously if you choose.