Your Dashboard
Interview Coaching
Learn
System Design
ML System Design
Code
Behavioral
Salary Negotiation
Interview Guides
Search
⌘K
Get Premium
Leetcode 3132. Find the Integer Added to Array II
Given two arrays where nums2 is formed by removing two elements from nums1 and adding the same integer x to every remaining element of nums1, find the minimum integer x (can be negative) that makes the multisets equal. The core challenge is matching elements under a global shift while choosing which two elements to remove.
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.