Available question text
Given equal-length digit strings, each query (k, trim) asks you to truncate every number to its rightmost trim digits and return the index of the k-th smallest trimmed value (ties broken by smaller original index). The challenge is to perform this comparison efficiently across multiple queries, e.g., via sorting or radix-sort on digit suffixes.
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 2343. Query Kth Smallest Trimmed Number
Reported date not specified · 0 source reports
Source snapshot: Nov 12, 2026
View source