Problem 760 · Easy
For each value of nums1, record where it sits in nums2, using a map from value to its positions.
Open the interactive visualisation