← All problemsSign in

SANSAs Smallest Number

After solving Arya's challenge,Sansa challenges Arya in return. In this challenge Arya was given an Array of numbers $A$ of length $n$. Arya has to find the smallest number that can be formed using each digit numbers from array among all combinations $A$.Help Arya to solve the challenge ### Input: - First line will contain $T$, number of testcases. Then the testcases follow. - First line of each t

HINT LADDERno hints yet
L1 Observation
L2 Technique
L3 Approach
L4 Pseudo-code
🔒
L5 Full solution
L5 unlocks only if you insist twice
solution.cppC++17

CodeSearch Tutor

Hints, not spoilers — it won’t hand over the full solution unless you insist.

voice by Sarvam AI

Sign in to chat with the tutor and save your progress.

Sign in to start