← All problemsSign in

2081. Sum of k-Mirror Numbers

LeetCodeMathEnumerationOpen on judge ↗

A k-mirror number is a positive integer without leading zeros that reads the same both forward and backward in base-10 as well as in base-k. - For example, 9 is a 2-mirror number. The representation of 9 in base-10 and base-2 are 9 and 1001 respectively, which read the same both forward and backward. - On the contrary, 4 is not a 2-mirror number. The representation of 4 in base-2 is 100, which d

HINT LADDERno hints yet
L1 Observation
L2 Technique
L3 Approach
L4 Pseudo-code
🔒
L5 Full solution
L5 unlocks only if you insist twice
solution.cppC++17

CodeSearch Tutor

Hints, not spoilers — it won’t hand over the full solution unless you insist.

voice by Sarvam AI

Sign in to chat with the tutor and save your progress.

Sign in to start