Available question text
Rearrange the digits of an integer to produce the smallest possible numeric value without changing its sign and without any leading zeros. For positive numbers this means the smallest non-zero-leading permutation, while for negatives you must maximize magnitude (most negative) by ordering digits accordingly.
Related questions
Continue with questions that share topics or the same question type.
Sources · 1 reference
These records explain where the question appears. A company tag or candidate report does not guarantee a future interview question.
Hello Interview · 1 record
No company association
Leetcode 2165. Smallest Value of the Rearranged Number
Interview date not specified · 0 source reports
Source snapshot: Nov 12, 2026
View source