Given an array of digits from 0 to 9, arrange them to form two numbers such that the sum of the numbers is minimized. If the array length is even, both numbers must have an equal number of digits. If…
You've read your 3 free write-ups
Sign up free to keep reading. Your account opens the first 10 questions of every company.