โ† Persistent questions

Frequency of single digit integer k in n

Filed under Persistent

The question

Write a function that takes two integers n and k as parameters and returns the frequency of the single digit integer k occurring in the number n.

No write-up yet. Related questions below have one.

Related Persistent questions

Collected from public candidate posts and coding forums. Updated Nov 2026.