Available question text
Compute the product of all integers in [left, right] and return its abbreviated form " ...<suf>eC" where C is the count of trailing zeros removed and /<suf> are the first/last five digits of the product after removing zeros (or the full number if ≤10 digits). The algorithmic challenge is to determine the leading five digits and the trailing five nonzero digits efficiently for ranges up to 10^4 without constructing the full huge product (typically via logarithms for the prefix and modular arithmetic with factor cancellation for the suffix).
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 2117. Abbreviating the Product of a Range
Reported date not specified · 0 source reports
Source snapshot: Nov 12, 2026
View source