← Flipkart questions

Find the permutation of a number with the smallest magnitude.

Filed under Flipkart

Given a number n (which can be negative), find the permutation of its digits that results in the smallest numerical magnitude while avoiding leading zeros.

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Flipkart questions

Collected from public candidate posts and coding forums. Updated Nov 2026.