Available question text
Given an array of positive integers, append the digit-reversal of each original element (note reversing drops leading zeros, e.g., 10 -> 1) and return how many distinct values appear in the final array. Core challenge: compute reverse(x) for each number and count uniques efficiently (use a hash set; n up to 1e5, nums[i] up to 1e6).
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 2442. Count Number of Distinct Integers After Reverse Operations
Reported date not specified · 0 source reports
Source snapshot: Nov 12, 2026
View source