Available question text
Choose a palindromic integer y (< 1e9) to change all elements of nums to, minimizing the total cost sum |nums[i]-y|; this is an L1 minimization problem over the discrete set of palindromic numbers (i.e., pick the palindromic value nearest the median).
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 2967. Minimum Cost to Make Array Equalindromic
Reported date not specified · 0 source reports
Source snapshot: Nov 12, 2026
View source