Dsa
Math
Medium
Palindromic Factor Count
Write a program that counts the number of palindromic factors of a given integer. A palindromic number reads the same forwards and backwards. The program should output the count of these palindromic factors excluding the number itself.
Input format:
A single integer, the number whose factors will be checked.
Output format:
Print the count of palindromic factors.
Example:
Input:
100
Output:
3
Key concepts
palindromesfactorsmath
Practise this out loud — free
Start a mock interview on THIS exact question — a voice AI interviewer opens with it, pushes back like a real onsite, then hands you an instant scorecard.
🎙 Practise this question now