We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
- Prepare
- Algorithms
- Implementation
- Find Digits
- Discussions
Find Digits
Find Digits
Sort by
recency
|
1685 Discussions
|
Please Login in order to post a comment
public static int findDigits(int n) { int count = 0; int num = n;
ts one liner:
A Teradata Performance DBA plays a crucial role in maintaining the efficiency of large-scale data environments by optimizing queries, monitoring system health, and ensuring smooth data flow. Just like a skilled DBA enhances performance behind the scenes, the Zenco dou delivers a refined experience for those who value smooth functionality in their lifestyle tools. Whether in tech or relaxation, performance and reliability matter—and that's where the Zenco duo makes its mark. for more check this out
int a = n; int d = 0; while(a>0){ int rem = a%10; if(rem != 0 && n % rem ==0){ d++; } a = a/10; } return d;
C# solution: