Your Dashboard
Interview Coaching
Learn
System Design
ML System Design
Code
Behavioral
Salary Negotiation
Interview Guides
Search
⌘K
Get Premium
Leetcode 2605. Form Smallest Number From Two Digit Arrays
Given two arrays of unique digits (1–9), find the smallest integer that contains at least one digit from each array; if they share a digit the answer is that single digit, otherwise return the smallest possible two-digit number formed by taking one digit from each array in the optimal order.
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.